utils (irispy.utils)#
The irispy.utils module provides functions useful for irispy users or developers.
irispy.utils Package#
Functions#
|
Calculate a mask with the dust positions in a given array. |
|
Calculates the uncertainty of a given data array. |
|
Gets the IRIS detector type from a meta dictionary. |
|
Computes and returns the min and max values of the input (image), clipping brightest and darkest pixels. |
|
Convert a structured numpy array to a regular dictionary. |
irispy.utils.constants Module#
This module provides constants used elsewhere.
irispy.utils.cosmic_rays Module#
Utilities for removing cosmic rays from IRIS data.
Functions#
|
Remove cosmic rays from a cube and return a cleaned cube. |
irispy.utils.density Module#
Helpers for IRIS density diagnostics.
Functions#
|
Map an observed IRIS line ratio onto a theoretical density curve. |
|
Map an observed line ratio to the associated physical quantity. |
irispy.utils.dust Module#
Utilities for repairing dust-darkened pixels in IRIS image cubes.
Functions#
|
Replace dust-darkened pixels in an IRIS image cube. |
irispy.utils.moments Module#
This module provides spectral moment calculation utilities for IRIS spectrogram cubes.
Functions#
|
Calculate the 0th, 1st, and 2nd spectral moments of a data cube. |
irispy.utils.red_blue Module#
Red-blue asymmetry utilities for IRIS spectrogram cubes.
Functions#
|
Calculate red-blue asymmetry maps from a spectrogram cube. |
Classes#
|
Quality flags for the per-pixel RBA computation. |
Class Inheritance Diagram#
irispy.utils.response Module#
This module provides general utility functions for IRIS Responses.
Functions#
|
To calculate the coefficients of best-fit time function for throughput, for which we apply a fit based on |
To compute the interpolated time-dependent effective area. |
|
|
Returns the latest IRIS response structure. |
irispy.utils.spectrograph Module#
This module provides general utility functions called by code in spectrograph.
Functions#
|
Calculates multiplicative factor that converts counts/s to radiance for given wavelengths. |
Converts data quantities from counts/s to radiance. |
|
|
Performs radiometric calibration on the input cube or cube sequence. |
irispy.utils.wobble Module#
Functions#
|
Creates a wobble movie from a list of files. |