generate_stripe_array
- jwst.lib.reffile_utils.generate_stripe_array(ref_array, xsize_sci, ysize_sci, nreads1, nreads2, nskips1, nskips2, repeat_stripe, interleave_reads1, fastaxis, slowaxis)[source]
Generate stripe array.
- Parameters:
- ref_arraynp.array
The scene to be sliced.
- xsize_sciint
Output shape in x dim.
- ysize_sciint
Output shape in y dim.
- nreads1int
Multistripe header keyword.
- nreads2int
Multistripe header keyword.
- nskips1int
Multistripe header keyword.
- nskips2int
Multistripe header keyword.
- repeat_stripeint
Multistripe header keyword.
- interleave_reads1int
Multistripe header keyword.
- fastaxisint
The subarray keyword describing the fast readout axis and direction.
- slowaxisint
The subarray keyword describing the slow readout axis and direction.
- Returns:
- stripe_outndarray
Generated stripe array.