HST/STIS echelle blaze function correction
Project description
Correction for the HST/STIS echelle blaze function.
See documentation at https://stisblazefix.readthedocs.io
This module contains a variety of functions to correct the blaze function in HST STIS echelle modes. It is intended for use with STIS echelle x1d FITS files. Most users will be interested in the fluxfix function.
The stisblazefix.py module contains the following routines:
fluxfix takes a list of x1d FITS files and generates corrected x1f files and diagnostic plots.
fluxcorrect takes a shift to the blaze function and recalculates the flux and error.
residcalc takes an echelle spectrum and calculates the flux residuals for the overlapping region.
generateplot takes an old and a corrected spectrum and generates a diagnostic plot.
residfunc is a wrapper for the lmfit minimizer.
findshift calculates the shift to the blaze function that best aligns the spectrum.
plotblaze plots the sensitivity curves for an extracted spectrum.
cliprange is used to set the Y range for some of the plots to exclude outliers.
mkdqmask creates a mask based on the bits set in data quality flags.
IDL version by C. Proffitt (Jan 2017) Python adaptation by M. Baer (Jun–Aug 2017) Additional fixes by C. Proffitt (Aug–Sep 2017)
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 stisblazefix-1.2.0.tar.gz.
File metadata
- Download URL: stisblazefix-1.2.0.tar.gz
- Upload date:
- Size: 15.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bb4e41fa3bcdc5bfa543279fb2a2931e28ed1596981dfdaea1683d7dac17e02
|
|
| MD5 |
763eb0299a566f8c15f5edf8910229b9
|
|
| BLAKE2b-256 |
d19f6387eeedd2c970fb627521ae2dc9a883750aab728978da5cc49f50512473
|
Provenance
The following attestation bundles were made for stisblazefix-1.2.0.tar.gz:
Publisher:
publish.yml on spacetelescope/stisblazefix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stisblazefix-1.2.0.tar.gz -
Subject digest:
6bb4e41fa3bcdc5bfa543279fb2a2931e28ed1596981dfdaea1683d7dac17e02 - Sigstore transparency entry: 227614551
- Sigstore integration time:
-
Permalink:
spacetelescope/stisblazefix@3acfc11d2fff250597aa45b2e491cfef5064482b -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/spacetelescope
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3acfc11d2fff250597aa45b2e491cfef5064482b -
Trigger Event:
release
-
Statement type:
File details
Details for the file stisblazefix-1.2.0-py3-none-any.whl.
File metadata
- Download URL: stisblazefix-1.2.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1c4f757ecd3e703667589809f463aa2a5ee3e9add02ff89d9a36e94b0b9fb6f
|
|
| MD5 |
8611d44f6f7468c2d1370b1ed6539335
|
|
| BLAKE2b-256 |
8e02c67d39a72757085c184b303d1acc789bafc138ab50f1f841c7adedf06971
|
Provenance
The following attestation bundles were made for stisblazefix-1.2.0-py3-none-any.whl:
Publisher:
publish.yml on spacetelescope/stisblazefix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stisblazefix-1.2.0-py3-none-any.whl -
Subject digest:
c1c4f757ecd3e703667589809f463aa2a5ee3e9add02ff89d9a36e94b0b9fb6f - Sigstore transparency entry: 227614561
- Sigstore integration time:
-
Permalink:
spacetelescope/stisblazefix@3acfc11d2fff250597aa45b2e491cfef5064482b -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/spacetelescope
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3acfc11d2fff250597aa45b2e491cfef5064482b -
Trigger Event:
release
-
Statement type: