pynrc.reduce.calib.pow_spec_ramp_pix

pynrc.reduce.calib.pow_spec_ramp_pix(data, nchan, expand_nstep=False, mn_func=<function mean>, return_freq=False, dt=1, **kwargs)[source]

Get power spectrum of pixels within ramp

Takes an input cube, splits it into output channels, and finds the power spectrum of each pixel. Return the average power spectrum for each channel.

Parameters
  • data (ndarray) – Input Image cube.

  • nchan (int) – Number of amplifier channels.

  • expand_nstep (bool) – Should we zero-pad the array to a power of two factor for incresed speed?