API

Public Step API

jwst.emicorr.emicorr_step Module

Apply MIRI EMI correction.

Classes

EmiCorrStep([name, parent, config_file, ...])

Correct MIRI ramp data for EMI noise.

Complete Developer API

jwst.emicorr.emicorr Module

Functions

apply_emicorr(input_model, emicorr_model[, ...])

Apply an EMI correction to MIRI ramps.

sloper(data)

Fit slopes to all pix of a ramp.

minmed(data)

Calculate the median image from a stack of images.

get_subarcase(emi_model, subarray, readpatt, ...)

Get the rowclocks and frameclocks values for the given configuration.

get_frequency_info(emi_model, frequency_name)

Get the frequency number from the given EMI model.

rebin(arr, newshape)

Rebin an array to a new shape.

mk_reffile(freq_pa_dict, emicorr_ref_filename)

Create the reference file HDU list object.

emicorr_refwave(data, pdq, refwave, ...[, ...])

Derive the best amplitude and phase for the EMI waveform, subtract it off.

get_best_phase(phases, chisq)

Fit a parabola to get the phase corresponding to the best chi squared.

calc_chisq_amplitudes(emifitter[, ints, phases])

Compute chi2 and amplitudes of EMI waveform at phase(s).

Classes

EMIfitter(all_y, all_n, phasefunc, ...)

Convenience class to facilitate chi2, amplitude calculation.