make_rate
- jwst.clean_flicker_noise.clean_flicker_noise.make_rate(input_model, input_dir='', return_cube=False)[source]
Make a rate model from a ramp model.
- Parameters:
- input_model
RampModel Input ramp model.
- input_dirstr
Path to the input directory. Used by sub-steps (e.g.,
assign_wcsfor NIRSpec MOS data) to find auxiliary data.- return_cubebool, optional
If set, a
CubeModelwill be returned, with a separate rate for each integration. Otherwise, anImageModelis returned with the combined rate for the full observation.
- input_model
- Returns:
- rate_model
ImageModelorCubeModel The rate or rateints model.
- rate_model