Skip to main content

Astrocubelib: python astronomy package to handle data cubes

This software package offers a comprehensive suite of tools designed to accurately fit emission and absorption lines within a spectrum. By integrating the area under the line profiles within a specified spectral range around the Gaussian peak, it calculates precise line fluxes. Additionally, the program generates continuum maps by integrating spectral windows near the lines or by fitting polynomial (or Chebyshev) functions.

Key features of the program include:

-Extraction of Gaussian parameters such as centroid, sigma, and height.
-Computation of Gaussian-Hermite parameters like h3 and h4.
-Determination of equivalent widths and their corresponding errors.
-Capability to fit multiple lines simultaneously.
-Flexibility to fit multiple Gaussians for a single line, a feature particularly useful for modeling AGN broad lines.
-Automation for processing data cubes, with options to mask specific areas within the cubes and customize fitting --procedures for each masked region.

Overall, this package provides advanced functionalities for analyzing spectral data, enabling users to accurately model and extract valuable information from their data sets.

INSTALLATION

This version can be easily installed via PyPI (https://pypi.org/project/astrocubelib/):

% pip install astrocubelib

If you prefer to install astrocubelib manually, you can clone the developing version at https://gitlab.com/joseaher/astrocubelib. In the directory this README is in, simply type:

% pip install .

or,

% python setup.py install

Uninstallation

To uninstall astrocubelib, just type:

% pip uninstall astrocubelib

Author

Metadata

Release files for astrocubelib 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astrocubelib 1.2.0
File Size Uploaded Provenance
astrocubelib-1.2.0.tar.gz 53.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for astrocubelib 1.2.0
File Interpreter ABI Platform
astrocubelib-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 112.2 kB

Release files / astrocubelib-1.2.0.tar.gz

Download URL astrocubelib-1.2.0.tar.gz
Size 53.8 kB
Tags Source
SHA-256 checksum
How to use checksums
edc4fd4084b1c79da8293a9a9b037f5d0c537b353e35fad874812d9791a46b57
BLAKE2b-256 checksum
How to use checksums
14691daa544f75ba29ac6d07ef9f72bb288b886f448326b3c84156de726f962e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.0

Release files / astrocubelib-1.2.0-py3-none-any.whl

Download URL astrocubelib-1.2.0-py3-none-any.whl
Size 58.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d0281cfce2f3b26dc35cafa3e7fa6bd9fd06eba015e2f375b14b112d7d275ac
BLAKE2b-256 checksum
How to use checksums
e1006cf27678b40755403beabad499b2d93eeb889822310737655cd21a0a7cac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.0

Security for astrocubelib 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page