Skip to main content

SphereX Data Retrieval and Photometry Toolkit

Project description

🪏 Xcavation 🪏

Xcavation is a Python package designed for efficient retrieval, photometric extraction, and visualization of SPHEREx survey data. Streamlined API for querying SPHEREx QR2 data products via IRSA, performing either aperture or PSF photometry, accounting for proper motion. Multi-threading is supported to significantly accelerate polar regions.

It is recommended that a user uses Google Colab, as it has high-speed internet for free. Here is an example.

🛠️ Installation 🛠️

pip Installation
  1. Download Python: Visit here to install Python
  2. Download pip: Visit here to install pip
  3. Run Install Command: Run the command in terminal:
    pip install xcavation
    

⚙️ Using Xcavation ⚙️

How to Use genspec

  1. After Xcavation is installed, verify the installation by running the following command: from xcavation.genspec import *. If you encounter any issues during installation, please reach out to Hunter Brooks for assistance.
  2. Assign the relavent variables as described below.
  3. Execute the command: genspec(ra, dec, style). These are the minimum required parameters for Xcavation to run. You can include optional variables if needed.
Relavent Variables For genspec
  • Required Variables:

    • ra: Right Accension in Degrees: float:

      • example: 131.123
    • dec: Declination in Degrees: float:

      • example: -12.31254
    • style: Aperature or PSF Photometry: string:

      • example: aperture or psf
  • Optional Variables:

    • pmra: Proper Motion in Right Accension (in arcsec/year): float
      • example: -0.981, default=None
    • pmdec: Proper Motion in Declination (in arcsec/year): float
      • example: 0.123, default=None
    • mjd: Modified Julian Date of inputed R.A. and Decl. from Above: float
      • example: 57170, default=None
    • verification: Plots Q.A. and Spectrum if True: boolean
      • example: True, default=False
    • threads: Number of Threads for Multi-Threading: list
      • example: 2, default=8

📞 Support & Development Team 📞

📖 Acknowledgments 📖

  1. If you intend to publish any calculations done by fossyl, please reference Brooks et al. (in prep.).

  2. Please reference the relavent SPHEREx publication.

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

xcavation-0.1.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

xcavation-0.1.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xcavation-0.1.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.8

File hashes

Hashes for xcavation-0.1.0.tar.gz
Algorithm Hash digest
SHA256 935e6ef47941a25e4ee154ee0c0396ff64812434bb8fecea5b81459d0f971bc0
MD5 952d1ef1b58b437e04c4a5da9ed32337
BLAKE2b-256 a2d1a0ae219c4d1c47711eae9df4164c4e353c125ae2460572a799a9546b252c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xcavation-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.8

File hashes

Hashes for xcavation-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4791228c11f608fa410b8254efb91f78de904316b3d73be432b4093ed5811bea
MD5 1889feb49b44f0cb9f221768867ad195
BLAKE2b-256 069adffa0d185aacc55beae54a2a60ea68f9049ded0ff525335def3d5fd7ff93

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