Implementation of astronomical objects spectral analisys
Project description
Spyctral: Astronomical spectral data analyser
Spyctral is a python package that allows to determine fundamental parameters of compact stellar systems from the analysis of their spectral synthesis and/or templates fitting.
Description
Spyctral is a set of tools to represent, load, manipulate and analyze astronomical spectroscopic data from spectral synthesis code results and templates fitting ones. The package provides a python toolbox to organize the outputs files and calculate astronomical parameters in a fast and accurate way giving to the astronomical community the spectra analysis more user-friendly.
Motivation
Star clusters stand as a pivotal yardstick in modern astrophysics. They are excellent targets to determine stellar ages and metallicities providing rich information on the star formation and chemical histories of their host galaxies (e.g., Greggio & Renzini 2011; Adamo et al. 2020; Berek et al. 2023). Ages, metallicities, radial velocities and reddening of star clusters can be obtained using the integrated spectrum fitting technique both in the Local Group and in more distant galaxies (e.g., Asa’d et al. 2013; Ahumada et al. 2016; Clariá et al. 2017; Colucci et al. 2017; Chilingarian & Asa’d 2018; Ahumada et al. 2019; Bastian et al. 2019; Moura et al. 2019; Sakari et al. 2021; Simondi-Romero et al. 2022). Several automated tools have been developed to apply this powerful technique and they are widely used in the literature. STARLIGHT (Cid Fernandes et al. 2005), NBursts (Chilingarian et al. 2007), EZ_age (Graves & Schiavon 2008), FISA (Benítez-Llambay et al. 2012), and Analyzer of Spectra for Age Determination (A.S.A.D) (Asa’d 2014) are some examples.
STARLIGHT apply the integrated spectrum of the star clusters to estimate the age, reddening and radial velocity, however the two tools use different approaches. STARLIGHT provides the results of the best simple stellar populations (SSP) mixture that match the observed integrated spectrum along with the final synthetic spectrum which represents the combined contributions of the different SSP population mixtures. However, the outputfile does not give the final object parameters so Spyctral was developed to could explore the results and finally obtain ages, reddenings, radial velocities and abundances.
FISA: “Fast Integrated Spectra Analyzer” permits fast and reasonably accurate age and reddening determinations for star clusters by using their integrated spectra and currently available template spectrum libraries. This algorithm and its implementation gives a results file with the astrophysical information in differents blocks. To look at the parameters in shorter times rather than looking case by case or file by file, Spyctral take the FISA outfile and give you the object parameters in a easy way.
The Spyctral code receives files (text files with all the spectroscopic info) related to the observed object, extracts the necessary information and offers the necessary methods to determine the astrophysical parameters of the object. This approach will save processing time and help to achieve astrophysical results in shorter times than from other methods. In this way the focus of analysis can be quickly redirected to the astrophysical results in a timely manner.
Features
Spyctral needs a minimum of one text file and you need to know the source code of the file to be analysed to use the library correctly.
Requeriments
You will need Python 3.9 or higher to run Sypctral.
Basic install
You could find Spyctral at PyPI. The standar instalation via pip:
$ pip install spyctral
Development install
Clone this repo and then inside the local directory execute
$ git clone https://github.com/candelac/Spyctral.git
$ cd Spyctral
$ pip install -e .
Tutorial
The following link leads to Spyctral's tutorial, which shows step by step how to get started and the main available options.
📖 Link to the tutorial on GitHub
Future upgrades
This is the first version of Spyctral code and we hope to add functionality so that the package will support output files from other synthesis codes, the next one to be included is A.S.A.D.
Authors
- Tapia-Reina Martina (martina.tapia@mi.unc.edu.ar)
- Cerdosino Candela (candelacerdosino@mi.unc.edu.ar)
- Fiore J.Manuel (juanmfiore@mi.unc.edu.ar)
- Martinez J.Luis (jmartinez@frc.utn.edu.ar)
- Cabral Juan (jbcabral@unc.edu.ar)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spyctral_tools-0.0.1rc0.tar.gz.
File metadata
- Download URL: spyctral_tools-0.0.1rc0.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e920e7495026471592850ecf27a50863d4e77955b2c122dec7655578782fae0
|
|
| MD5 |
ca9788eeaf21e875d0da71ec41111517
|
|
| BLAKE2b-256 |
de834c9a3e5c1a2eba921ffdb03814e787d3fac137e5d879bb3709069e898cdf
|
File details
Details for the file spyctral_tools-0.0.1rc0-py3-none-any.whl.
File metadata
- Download URL: spyctral_tools-0.0.1rc0-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e6843d330307a0c76fe153e4acc6920f15476aba7943a12aa1fe876b8e353c7
|
|
| MD5 |
f2822b2a598c379000306d98f343ffbe
|
|
| BLAKE2b-256 |
c4d4e11e6132690908631985be020fb2cbfe91d3c0faa631be7bbd74659298cc
|