SegmentSimulator¶
- class lsst.cp.pipe.SegmentSimulator(imarr, prescan_width, output_amplifier, cti=0.0, traps=None)¶
- Bases: - object- Controls the creation of simulated segment images. - Parameters:
- imarrnp.ndarray(nx, ny)
- Image data array. 
- prescan_widthint
- Number of serial prescan columns. 
- output_amplifierlsst.cp.pipe.FloatingOutputAmplifier
- An object holding the gain, read noise, and global_offset. 
- ctifloat
- Global CTI value. 
- trapslist[lsst.ip.isr.SerialTrap]
- Serial traps to simulate. 
 
- imarr
 - Methods Summary - add_trap(serial_trap)- Add a trap to the serial register. - ramp_exp(signal_list)- Simulate an image with varying flux illumination per row. - readout([serial_overscan_width, ...])- Simulate serial readout of the segment image. - Methods Documentation - add_trap(serial_trap)¶
- Add a trap to the serial register. - Parameters:
- serial_traplsst.ip.isr.SerialTrap
- The trap to add. 
 
- serial_trap
 
 - ramp_exp(signal_list)¶
- Simulate an image with varying flux illumination per row. - This method simulates a segment image where the signal level increases along the horizontal direction, according to the provided list of signal levels. 
 - readout(serial_overscan_width=10, parallel_overscan_width=0)¶
- Simulate serial readout of the segment image. - This method performs the serial readout of a segment image given the appropriate SerialRegister object and the properties of the ReadoutAmplifier. Additional arguments can be provided to account for the number of desired overscan transfers. The result is a simulated final segment image, in ADU.