Skip to main content

No project description provided

Project description

mphot

mphot is a Python package to model photometry for ground or space-based astronomy. Exposure time calculator (ETC) built in.

example plots

How it works

Simply put,

  • it combines user submitted [telescope * filter * camera qe] efficiencies with generic stellar models and sky transmission/radiance models (for Paranal, 2400m) to generate integrable grids of stellar fluxes and sky radiances.

  • Then, mphot uses the grids to interpolate between different

    • atmospheric parameters (PWV, airmass)
    • target star parameters (effective temperature + distance)
  • using user submitted

    • telescope/site parameters (primary and secondary diameters, site seeing)
    • camera parameters (plate scale, dark current, read noise, well depth, target well fill, read time)
  • to calculate the ideal exposure time and expected precision for a given observation.

Please see the examples for more details on how to use mphot. For further details on the models used, please see https://doi.org/10.1117/12.3018320.

Note, it uses stellar parameters from "A Modern Mean Dwarf Stellar Color and Effective Temperature Sequence". Temperatures between 1278 K to 3042 K are calibrated for the SPECULOOS target list with 2MASS (see Figure 4.7 in "Optimised ground-based near-infrared instrumentation for robotic exoplanet transit surveys").

Installation

You can install mphot in a Python (>=3.11) environment with

pip install mphot

or from a local clone

git clone https://github.com/ppp-one/mphot
pip install -e mphot

You can test the package has been properly installed with

python -c "import mphot"

Attribution

If you find mphot useful for your research, please cite Pedersen et. al 2024. The BibTeX entry for the paper is:

@inproceedings{pedersen2024infrared,
  title={Infrared photometry with InGaAs detectors: First light with SPECULOOS},
  author={Pedersen, Peter P and Queloz, Didier and Garcia, Lionel and Schacke, Yannick and Delrez, Laetitia and Demory, Brice-Olivier and Ducrot, Elsa and Dransfield, Georgina and Gillon, Michael and Hooton, Matthew J and others},
  booktitle={Ground-based and Airborne Instrumentation for Astronomy X},
  volume={13096},
  pages={1146--1167},
  year={2024},
  organization={SPIE}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mphot-1.2.3.tar.gz (18.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mphot-1.2.3-py3-none-any.whl (17.4 MB view details)

Uploaded Python 3

File details

Details for the file mphot-1.2.3.tar.gz.

File metadata

  • Download URL: mphot-1.2.3.tar.gz
  • Upload date:
  • Size: 18.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mphot-1.2.3.tar.gz
Algorithm Hash digest
SHA256 48f1cc10c8ff0e464071cee23799b68a514ce47e8e16c81c9e959f65b6eae1c8
MD5 c20369e8aee18937b08aa49233a55ccf
BLAKE2b-256 1616e21d0c4cc33f5d7f8a9f66b85942c36c85ca822704995d89767fe8de8491

See more details on using hashes here.

Provenance

The following attestation bundles were made for mphot-1.2.3.tar.gz:

Publisher: publish.yml on ppp-one/mphot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mphot-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: mphot-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 17.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mphot-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fda850aaad6f1ba48b8018242e5df3dcad9e78f230a0fbd77607ba6ecb461757
MD5 83747193739d90f1163a7aa93efaaf18
BLAKE2b-256 90ef6fa5531fb6e9690096d2ce351c024919d759ee747d3015721d3308ccb665

See more details on using hashes here.

Provenance

The following attestation bundles were made for mphot-1.2.3-py3-none-any.whl:

Publisher: publish.yml on ppp-one/mphot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page