Skip to main content

Utilities to handle astronomy data cube.

Project description

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

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

astrocubelib-1.2.0.tar.gz (53.8 kB view details)

Uploaded Source

Built Distribution

astrocubelib-1.2.0-py3-none-any.whl (58.4 kB view details)

Uploaded Python 3

File details

Details for the file astrocubelib-1.2.0.tar.gz.

File metadata

  • Download URL: astrocubelib-1.2.0.tar.gz
  • Upload date:
  • Size: 53.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0

File hashes

Hashes for astrocubelib-1.2.0.tar.gz
Algorithm Hash digest
SHA256 edc4fd4084b1c79da8293a9a9b037f5d0c537b353e35fad874812d9791a46b57
MD5 57ffd22056c57f9084ef9abc74a60fe3
BLAKE2b-256 14691daa544f75ba29ac6d07ef9f72bb288b886f448326b3c84156de726f962e

See more details on using hashes here.

File details

Details for the file astrocubelib-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for astrocubelib-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d0281cfce2f3b26dc35cafa3e7fa6bd9fd06eba015e2f375b14b112d7d275ac
MD5 f7226fedda365e3a6a78150c5dcb42e3
BLAKE2b-256 e1006cf27678b40755403beabad499b2d93eeb889822310737655cd21a0a7cac

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