Skip to main content

General Description

Spec_map_analysis is a spectral map analysis package. The package contains modules that allow for the fitting of emission lines in spectral maps, resampling and convolution of images, and derivation of emission line ratios and subsequently electron densities.

  • The emission line fitting module can fit a single emission line with a Gaussian profile and optionally a polynomial continuum component. The spectral fitting is performed independently for each spatial pixel using a non-linear least squares method.

  • The resampling and convolution module resamples one image to another image's pixel resolution, and then convolves either image to the specified spatial resolution. The convolution allows for the propagation of uncertainties, assuming they are correlated, using the method presented in Klein (2021).

  • The line ratio and electron density module allow for the derivation of specified line ratios and subsequently, electron density maps using atomic data from PyNeb. Aperture photometry can also be performed on the line intensity maps, and then used to calculate line ratios and electron densities for aperture regions.

Requirements

Spec_map_analysis has the following requirements:

Spec_map_analysis also has optionally dependencies on:

  • photutils 1.1 or later: To derive aperture photometry.
  • matplotlib 3.3 or later: To plot images.
  • emcee 3.0 or later: To fit spectral maps using an MCMC algorithm.

Installation

Spec_map_analysis can be downloaded, installed and upgraded using pip.

To install only the required packages, run:

pip install spec_map_analysis

To install all package dependencies, run:

pip install spec_map_analysis[all_dep]

To install directly from the GitHub repository, run:

pip install git+https://github.com/kjdoore/spec_map_analysis.git

Manual

The manual can be found here.

Reporting Issues

If you happen to find a bug in spec_map_analysis, please report it by creating a new issue on the spec_map_analysis GitHub issue tracker. Please include an example of the issue that allows for its reproduction, so the problem can be fixed.

Metadata

Release files for spec-map-analysis 1.1.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 spec-map-analysis 1.1.1
File Size Uploaded
spec_map_analysis-1.1.1.tar.gz 39.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spec-map-analysis 1.1.1
File Interpreter ABI Platform
spec_map_analysis-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 87.2 kB

Release files / spec_map_analysis-1.1.1.tar.gz

Download URL spec_map_analysis-1.1.1.tar.gz
Size 39.1 kB
Tags Source
SHA-256 checksum
How to use checksums
83cc9fd168ba503259146d317698e7ac857c1afd088fc66935f2104d540dde4f
BLAKE2b-256 checksum
How to use checksums
e39304dda06f6d00d3a0f23f409369d44fda915c5311e019f412b7c5e85a87e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

Release files / spec_map_analysis-1.1.1-py3-none-any.whl

Download URL spec_map_analysis-1.1.1-py3-none-any.whl
Size 48.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
917f0882ab712da7a845712ea514209b6e00be74cdd06a16e90eedca9e7f9fae
BLAKE2b-256 checksum
How to use checksums
dfa56911a71cf3cdb189183eb181963c5e084ef190e06080a635cce8661d8d31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1

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