Skip to main content

Stellar LOSVD Analysis (SLA)

Code for the non-parametrical recovery of stellar Line-Of-Sight Velocity Distributions (LOSVD) from galaxy spectra.

Stellar LOSVD recovery from the observed galaxy spectra is equivalent to a deconvolution and can be solved as a linear inverse problem. To overcome its ill-posed nature we apply smoothing regularization. Here we present a non-parametric fitting technique and show real-world application to MaNGA spectral data cubes and long-slit spectrum of stellar counter-rotating galaxies.

More information about this technique can be found in ADASS XXXI conference proceeding and in examples

Installation

Use the package manager pip to install sla.

pip install sla==1.3.3

The sla package uses the following dependencies, which should be installed when installing through the pip manager:

pip install -r requirements.txt
  • numpy
  • scipy
  • matplotlib
  • astropy
  • lmfit
  • vorbin
  • pseudoslit
  • glob
  • PyPDF2
  • tqdm

Usage

SLA usage examples are shown for stellar counter-rotating galaxy PGC 66551 (Gasymov, Katkov et al. in prep.). To run examples, first download test dataset which includes:

  • MaNGA spectral cube
  • long-slit spectra.
sh ./data/download.sh 

Use case examples

Example 1

Example of stellar LOSVD recovery along pseudoslit spectrum taken from MaNGA spectral cube along the major axis

cd example
python3 example_MaNGA_without_template.py

Example 2

LOSVD is determined from the RSS long slit spectrum using the un-broadened stellar population template (SSP PEGASE.HR), which was constructed by applying in advance NBursts full spectral fitting method.

cd example
python3 example_NBursts_with_template.py

Example 3

The same as in the previous example, but without using NBursts output. The necessary stellar population template is selected from the model grid for given approximate SSP parameters

cd example
python3 example_NBursts_without_template.py

The resulting file fits file PDF figure will be stored in the result folder.

Authors

  • Damir Gasymov (Sternberg Astronomical Institute, Lomonosov Moscow State University)
  • Ivan Katkov (NYU Abu Dhabi, Lomonosov Moscow State University)

Metadata

Release files for sla 1.4.1

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

Source distribution (sdist)

Source distribution for sla 1.4.1
File Size Uploaded
sla-1.4.1.tar.gz 12.3 kB Details

Built distribution (wheel)

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

Total release size: 23.7 kB

Release files / sla-1.4.1.tar.gz

Download URL sla-1.4.1.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0d3636728e4ab75e66582a4c8252e6c6a15cb35fafb957d21f968474beb7be06
BLAKE2b-256 checksum
How to use checksums
b5cd867400699c074156307db76cfd8992b796d7f5533ef8c1adbda8cc6c7336
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Release files / sla-1.4.1-py3-none-any.whl

Download URL sla-1.4.1-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f6e8606ae52dd79cac67baba4df40fcbdef9db14dff76a5a0c0599a7d8695d8
BLAKE2b-256 checksum
How to use checksums
ea850d77800aa9356091122b97c310747bfe36cdd2555aeeb2425626b964c153
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files

1.4.0

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

3 release files

1.3.0

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

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