Skip to main content

Non-parametric LOSVD analysis for galaxy spectra

Project description

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

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)

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

sla-1.3.1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distributions

sla-1.3.1.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

sla-1.3.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file sla-1.3.1.tar.gz.

File metadata

  • Download URL: sla-1.3.1.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for sla-1.3.1.tar.gz
Algorithm Hash digest
SHA256 b22b200a7d36c237851c02c68a779bfb58881a0c18382c1c08e9245bde44c0e1
MD5 fdac71e92f58270a2d25e39710bd92d2
BLAKE2b-256 e979cc7a43b44cba62802bbe27bcba857fbdab978bc540eb7399a7dd90f2fb70

See more details on using hashes here.

File details

Details for the file sla-1.3.1.0-py3-none-any.whl.

File metadata

  • Download URL: sla-1.3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for sla-1.3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2549f309b5c5db2ad296f93ef25d0909ee4b68a0ab3fe110d3181dba96d9df5
MD5 176c24fbc7c1bd344c97697d94447ff2
BLAKE2b-256 eee675b25fc0390f2449743b58cae8f82928513b6cd8e8c8469eb39b0f0fda14

See more details on using hashes here.

File details

Details for the file sla-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: sla-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for sla-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5bb943671109768bcfe1afae6ac21aed32d2cf5fac213f1074c834f51f28208
MD5 1a4a900457992a9927e4154d6696ed30
BLAKE2b-256 2c95d6af20cc91132a95d003dc9d758933a2749803342fbacccf8de7311e878f

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