Skip to main content

A package for performing stellar photometry.

Project description

A Python Package for Stellar Photometry

Powered by Astropy Badge GitHub Workflow badge pre-commit.ci status codecov DOI

Stellarphot is a Python package to allow you to turn reduced astronomical images of point sources (e.g. stars) into useful photometry, with a focus on variable star and exoplanet transit observations. Specifically:

  • If you have reduced astronomical images as FITS files but haven't obtained photometry yet, stellarphot can perform aperture photometry on your images.
  • If you already have aperture photometry for a field, stellarphot can
    • choose comparison stars based on a catalog (e.g. APASS DR9),
    • calculate relative flux (like AstroImageJ),
    • calculate calibrated magnitudes by transforming to a catalog (e.g. APASS DR9), and/or
    • calculate calibrated magnitudes with a user-provided set of comparison stars (as is done in AAVSO submissions).
    • export ensemble photometry results in the AAVSO Extended File Format for direct upload to WebObs.
  • If you are working with exoplanet transit observations, stellarphot can turns the photometry into exoplanet transit light curves (see installation notes below).

Installation

stellarphot requires Python 3.10 or later.

You can install stellarphot with either pip or conda. If you are interested in stellarphot for exoplanet transit light curves, conda is recommended at the moment because of an issue with installing one of the dependencies.

  • Install with conda using

    conda install -c conda-forge stellarphot
    

    If you are interested in exoplanet light curve fitting, also install batman using

    conda install -c conda-forge batman-package
    
  • Install with pip using

    pip install stellarphot
    

    or if you are interested in exoplanet light curve fitting you should instead use:

    pip install stellarphot[exo_fitting]
    

Getting started with stellarphot

  1. Start Jupyterlab from the command line: jupyter lab
  2. Once JupyterLab opens in your web browser, open the Launcher (see Figure below)
  3. Click on the notebook you want (see figure below) and follow the instructions in the notebook. Output files and the settings used to generate them will show up in the file browser
stellarphot-screenshot

Questions?

Feel free to contact @mwcraig or @JuanCab with your questions about using stellarphot.

Contributors

Matt Craig
Matt Craig

๐Ÿ› ๐Ÿ’ป ๐ŸŽจ ๐Ÿค” ๐Ÿšง ๐Ÿง‘โ€๐Ÿซ ๐Ÿ”ฌ ๐Ÿ‘€ โš ๏ธ โœ…
Juan Cabanela
Juan Cabanela

๐Ÿ› ๐Ÿ’ป ๐ŸŽจ ๐Ÿค” ๐Ÿšง ๐Ÿ‘€ ๐Ÿ“–
madelyn914
madelyn914

๐Ÿค” ๐Ÿ““
Abby
Abby

๐Ÿ““
MDeRung2021
MDeRung2021

๐Ÿ› ๐Ÿ““
Tanner Weyer
Tanner Weyer

๐Ÿ’ป ๐Ÿ‘€ ๐Ÿ““
Emily Watson
Emily Watson

๐Ÿ› ๐Ÿ““
Adam Kline
Adam Kline

๐Ÿ’ป ๐Ÿ““
Elias Holte
Elias Holte

๐Ÿ’ป
P. L. Lim
P. L. Lim

๐Ÿšง
clkotnik
clkotnik

๐Ÿค”
Paige Meyer
Paige Meyer

๐Ÿ“–
stottsco
stottsco

๐Ÿ’ป
Isobel Snellenberger
Isobel Snellenberger

๐Ÿ’ป ๐Ÿ““
Stefan Nelson
Stefan Nelson

๐Ÿ’ป ๐Ÿ““
Nathan Walker
Nathan Walker

๐Ÿ’ป ๐Ÿ““
Jane Glanzer
Jane Glanzer

๐Ÿ’ป ๐Ÿ““
Add your contributions

License

This project is Copyright (c) 2019-2024 The Stellarphot Team and licensed under the terms of the BSD 3-Clause license. This package is based upon the Astropy package template which is licensed under the BSD 3-clause license.

Project details


Release history Release notifications | RSS feed

This version

2.0.4

Download files

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

Source Distribution

stellarphot-2.0.4.tar.gz (807.6 kB view details)

Uploaded Source

Built Distribution

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

stellarphot-2.0.4-py3-none-any.whl (900.3 kB view details)

Uploaded Python 3

File details

Details for the file stellarphot-2.0.4.tar.gz.

File metadata

  • Download URL: stellarphot-2.0.4.tar.gz
  • Upload date:
  • Size: 807.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for stellarphot-2.0.4.tar.gz
Algorithm Hash digest
SHA256 1b728a3e044b198917f394b84c6a39da46f72abd9316bff5227e2bd60d78bd4f
MD5 6312d1a4f508fbdbdb9b112910878bd4
BLAKE2b-256 5ef03c92a0e59280e40f3df4663f2324f7d50abdbb37d09da3d7216c850ccc20

See more details on using hashes here.

Provenance

The following attestation bundles were made for stellarphot-2.0.4.tar.gz:

Publisher: publish.yml on feder-observatory/stellarphot

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

File details

Details for the file stellarphot-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: stellarphot-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 900.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for stellarphot-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8cf942c5e51d07ae1602e54582fd0dad8161cf5312ec7c344fcd72906a849248
MD5 1bd31fd7b757b1ea4168d2b67bd90a5e
BLAKE2b-256 5d352aac89034a6b63d659afa1faacab4b20b0c6363de01c6ded97ba9d62868d

See more details on using hashes here.

Provenance

The following attestation bundles were made for stellarphot-2.0.4-py3-none-any.whl:

Publisher: publish.yml on feder-observatory/stellarphot

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