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
- Jose Hernandez-Jimenez (joseaher@gmail.com)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | edc4fd4084b1c79da8293a9a9b037f5d0c537b353e35fad874812d9791a46b57 |
|
MD5 | 57ffd22056c57f9084ef9abc74a60fe3 |
|
BLAKE2b-256 | 14691daa544f75ba29ac6d07ef9f72bb288b886f448326b3c84156de726f962e |
File details
Details for the file astrocubelib-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: astrocubelib-1.2.0-py3-none-any.whl
- Upload date:
- Size: 58.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d0281cfce2f3b26dc35cafa3e7fa6bd9fd06eba015e2f375b14b112d7d275ac |
|
MD5 | f7226fedda365e3a6a78150c5dcb42e3 |
|
BLAKE2b-256 | e1006cf27678b40755403beabad499b2d93eeb889822310737655cd21a0a7cac |