pynrc.reduce.ref_pixels

Functions

calc_avg_amps(refs_all, data_shape[, ...])

Calculate amplifier averages

calc_avg_cols([refs_left, refs_right, ...])

Calculate average of column references

calc_col_smooth(refvals, data_shape[, ...])

Perform optimal smoothing of side ref pix

channel_averaging(im[, nchans, ...])

Estimate common 1/f noise in image

channel_smooth_butter(im_arr[, order, freq, ...])

Channel smoothing using Butterworth filter

channel_smooth_fft(im_arr[, winsize])

Channel smoothing using smooth_fft

channel_smooth_savgol(im_arr[, winsize, ...])

Channel smoothing using savgol filter

chrem_med(imarr[, nchans, yind, bpmask, ...])

Subtract Amplifier Channel Offsets

mask_helper()

Helper to handle indices and logical indices of a mask

ref_filter(cube[, nchans, in_place, ...])

Optimal Smoothing

reffix_amps(cube[, nchans, in_place, ...])

Correct amplifier offsets

reffix_hxrg(cube[, nchans, in_place, fixcol])

Reference pixel correction function

smooth_fft(data, delt[, first_deriv, ...])

Optimal smoothing algorithm

Classes

NRC_refs(data, header[, DMS, altcol, do_all])

Reference pixel correction object