Skip to main content

A package for classifying tabular photometry data from JWST, Spitzer, and 2MASS according to one of YSOs, field stars, brown dwarfs, white dwarfs, or galaxies.

Project description

Stellar Evolutionary Stage Heuristic Assessment Tool (SESHAT)

This is a beta version of the SESHAT tool, currently being modified for publication.

The final version will be released pending any suggestions from the referee.

If you use this package, please cite Crompvoets et al. 2025 (submitted). Please also cite the original data producers:
YSOs: [Richardson et al. (2024)][https://ui.adsabs.harvard.edu/abs/2024ApJ...961..188R/abstract]
Brown dwarfs: ATMO -- [Phillips et al. (2020)][https://ui.adsabs.harvard.edu/abs/2020A%26A...637A..38P/abstract]
White dwarfs: [Blouin et al. (2018)][https://ui.adsabs.harvard.edu/abs/2018ApJ...863..184B/abstract]
Field stars: PARSEC -- [Bressen et al. (2012)][https://ui.adsabs.harvard.edu/abs/2012MNRAS.427..127B/abstract]
Galaxies: CIGALE -- [Burgarella et al. 2005][https://ui.adsabs.harvard.edu/abs/2005MNRAS.360.1413B/abstract], [Noll et al. 2009][https://ui.adsabs.harvard.edu/abs/2009A%26A...507.1793N/abstract] [Boquin et al. (2020)][https://ui.adsabs.harvard.edu/abs/2019A%26A...622A.103B/abstract]

Catalog set-up

Please have your catalog set-up with the columns as:
Spitzer: ['IRAC1', 'IRAC2', 'IRAC3', 'IRAC4', 'MIPS1', 'MIPS2', 'MIPS3']
2MASS: ['J', 'H', 'Ks']
JWST: in the frame of 'f090w', or 'f322w2'.

Please include errors as 'e_' + filter name; e.g. 'e_f090w'.

All columns must be in Vega mags.

If you have labels already known, these should be under the column: 'Class'
The labels should match the following:
Young Stellar Objects: "YSO"
Field stars: "FS"
Galaxies: "Gal"
White dwarfs: "WD"
Brown dwarfs: "BD"

Other important information

The function classify accepts pandas DataFrames or Astropy Tables.

When testing filters, it is assumed the data will have errors that can be approximated by a Gaussian with mean 0.1 mag and standard deviation 0.01 mag.

SESHAT only takes medium, wide, and very-wide filters as input for JWST, no narrow filters.

Example of obtaining classifications

from seshat-classifier import seshat
import pandas as pd

my_catalog = pd.read_csv("my_catalog.csv")

my_catalog_classified = seshat.classify(real=my_catalog, classes=['YSO', 'FS', 'Gal'], filters=['f140m', 'f160m', 'f356w', 'f480m','f770w','f2550w'], cosmological=False, return_test=False, threads = 8)

Example of testing filters

from seshat-classifier import seshat

filter_test = seshat.test_filters(filters = ['f140m', 'f160m', 'f356w', 'f480m','f770w','f2550w'], classes = =['YSO', 'FS', 'BD', 'WD', 'Gal'], threads = 8)

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

seshat_classifier-0.0.24.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

seshat_classifier-0.0.24-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file seshat_classifier-0.0.24.tar.gz.

File metadata

  • Download URL: seshat_classifier-0.0.24.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for seshat_classifier-0.0.24.tar.gz
Algorithm Hash digest
SHA256 84a5e48ec1d471efd501f24f67b46dc3e3409005d3f0c8a019fe2d8e9445fea8
MD5 c7714394dc088ad8f5723ef5f8098beb
BLAKE2b-256 6533bbdf110c1a7645a0a3f53f079375a35006475e15789ecc8030184c3fd9e1

See more details on using hashes here.

File details

Details for the file seshat_classifier-0.0.24-py3-none-any.whl.

File metadata

File hashes

Hashes for seshat_classifier-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 2a468235b3b6ecff7f8870dc7bf3ee461c8b268c501b6a621e001144ee74e4bf
MD5 5f566ee730e1621074c587b264c5af08
BLAKE2b-256 5787b7dfb5e31bd2d17bec8e5e6f7cc95c3371db8a9e00827b93c14eccfc56ca

See more details on using hashes here.

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