Skip to main content

spectromancer.py is a wizard for managing MAGE spectrum observations of white dwarfs

Project description

spectromancer.py

spectromancer.py is a wizard for managing MAGE spectrum observations of white dwarfs. It expects a directory structure in the form:

observations/
├── target1/
|   ├── exposure1.fits
│   ├── exposure2.fits
│   └── exposure1.fits
├── target2/
│   ├── exposure1.fits
│   ├── exposure2.fits
│   └── exposure3.fits
└── obsfile.csv

Then, spectromancer.py can be used to automatically coadd the spectra and measure parameters. Each target should have its own folder, which contains all of its individual exposures. The file obsfile.csv can contain any information, but must have a column called name that corresponds to the name of each target. An example observation and obsfile are provided in the repository. Then, spectromancer.py can be called from the command line or imported as a python module.

usage: spectromancer.py [-h] [--measure-rvs] [-o [OUTFILE]] [-v] path

spectromancer.py is a wizard for managing MAGE spectrum observations of white dwarfs

positional arguments:
  path                  path to the observation folder

options:
  -h, --help            show this help message and exit
  --measure-rvs         append RVs to the observation table?
  -o [OUTFILE], --outfile [OUTFILE]
                        file to which to write the observation table
  -v, --verbose         save plots?

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

spectromancer-0.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

spectromancer-0.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file spectromancer-0.1.tar.gz.

File metadata

  • Download URL: spectromancer-0.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for spectromancer-0.1.tar.gz
Algorithm Hash digest
SHA256 10c98fd888f3cfcd7919443707d105e909ed3d7763ab875b4ea292d61d49dcd0
MD5 7c215543b1ae6dfe168329cb5bc88605
BLAKE2b-256 082e08f98bfe18518a6ea2705629d18f07d3a9771b5ac3419eb027200ef96903

See more details on using hashes here.

File details

Details for the file spectromancer-0.1-py3-none-any.whl.

File metadata

  • Download URL: spectromancer-0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for spectromancer-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c8452bffadc2bff6f23c6b089d76b09814983e2482d924afaf2ca158849bf921
MD5 b9ef9d2c9cd53bb71afc13c620ef374a
BLAKE2b-256 1dc208d34c2c5c37cb8e0d90c0c5045bf9bbc088b549897fe0d1b282d503504e

See more details on using hashes here.

Supported by

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