Skip to main content

Tools to work with fits files for Pandora

Project description

pandora-fits

Tools to work with fits files from Pandora.

pandora-fits wraps astropy.io.fits.HDUList classes to ensure that files conform to Pandora FITS standards.

The standards are defined using excel files in the src/pandorasat/fileformats/ folder. Changing these files will change the standards that this tool checks against.

Pandora Detectors

Pandora has two detectors, VISDA and NIRDA. You can read more about each of these in pandora-sat.

Pandora File Levels

Pandora will have the following levels of files for each detector

Level Description
0 Raw data from spacecraft
1 Reorganized raw data, with potential for additional keywords
2 Calibrated image data products
3 Spectral time-series data, ready for science.

Exceptions

pandora-fits will throw exceptions if files are not in the correct format. This includes

  • Files do not have the right number of extensions
  • Extensions are not the correct type
  • Header keywords have the wrong values when compared with the template

Warnings

pandora-fits will log warnings if files are missing keyword headers, but those headers aren't valued in the excel spreadsheet.

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

pandorafits-0.1.0.tar.gz (54.5 kB view details)

Uploaded Source

Built Distribution

pandorafits-0.1.0-py3-none-any.whl (77.8 kB view details)

Uploaded Python 3

File details

Details for the file pandorafits-0.1.0.tar.gz.

File metadata

  • Download URL: pandorafits-0.1.0.tar.gz
  • Upload date:
  • Size: 54.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.13 Darwin/23.5.0

File hashes

Hashes for pandorafits-0.1.0.tar.gz
Algorithm Hash digest
SHA256 25e3c084914b4fc55a735474daabbcb42133a85d951b6b29db76388440726912
MD5 4bce82b87af2ee6ee59aad0ab6cfa48c
BLAKE2b-256 9b6998d4bbd2e78224d5926b1b54fa566621515bee660359225dd29b55b52241

See more details on using hashes here.

File details

Details for the file pandorafits-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pandorafits-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 77.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.13 Darwin/23.5.0

File hashes

Hashes for pandorafits-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24b64cbcdab2e183c97a0c1d4a836890736278a1d0b5f072fa4419ac6c8d8840
MD5 2a97f6e29abc833cd0a787d515810112
BLAKE2b-256 b30470b3d7417ed9c437edb2c4037281be7857761e761b0220e724311d944a2c

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