utils (irispy.utils)#

The irispy.utils module provides functions useful for development of irispy-lmsal.

irispy.utils Package#

Functions#

calculate_dust_mask(data_array)

Calculate a mask with the dust positions in a given array.

calculate_photons_per_sec_to_radiance_factor(...)

Calculates multiplicative factor that converts counts/s to radiance for given wavelengths.

calculate_uncertainty(data, readout_noise, unit)

Calculates the uncertainty of a given data array.

convert_between_DN_and_photons(...)

Converts arrays from IRIS DN to photons or vice versa.

convert_or_undo_photons_per_sec_to_radiance(...)

Converts data quantities from counts/s to radiance (or vice versa).

fit_iris_xput(time_obs, time_cal_coeffs, ...)

To calculate the coefficients of best-fit time function for throughput, for which there are two modes: 1.

get_detector_type(meta)

Gets the IRIS detector type from a meta dictionary.

get_interpolated_effective_area(time_obs, ...)

To compute the interpolated time-dependent effective area.

get_iris_response([time_obs, response_version])

Returns IRIS response structure.

image_clipping(image[, cutoff, gamma])

Computes and returns the min and max values of the input (image), clipping brightest and darkest pixels.

reshape_1D_wavelength_dimensions_for_broadcast(...)

wobble_movie(files, *[, outdir, trim, ...])

Creates a wobble movie from a list of files.