public class CCDGeometry extends Object implements CCDInterface
| Modifier and Type | Class and Description |
|---|---|
class |
CCDGeometry.CCDSegment
Class representing a single segment (amplifier) within a CCD.
|
static class |
CCDGeometry.ReadoutOrder
Define the readout order for a particular amplifier.
|
| Constructor and Description |
|---|
CCDGeometry(int segmentRowCount,
int segmentColumnCount,
int serialActive,
int parallelActive,
int serialPrescan,
int serialOverscan,
int parallelOverscan,
CCDType type)
Create a CCDGeomtry object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSegment(int channel,
int row,
int column,
CCDGeometry.ReadoutOrder readoutOrder)
Used when constructing the geometry to add segments (amplifiers) to the
geometry.
|
int |
getActiveParallelSize()
The active parallel size of this CCD.
|
int |
getActiveSerialSize()
The active serial size of this CCD.
|
int |
getParallelActiveCount() |
int |
getParallelOverscanCount() |
int |
getParallelSegmentCount()
Get the number of segments in the Parallel direction
|
CCDGeometry |
getROIGeometry(int rows,
int cols,
int overRows,
int overCols) |
SegmentInterface |
getSegment(int row,
int column)
Get the CCDSegment corresponding to the given row and column
|
List<SegmentInterface> |
getSegments()
The list of segments in readout order.
|
int |
getSerialActiveCount() |
int |
getSerialOverscanCount() |
int |
getSerialPrescanCount() |
int |
getSerialSegmentCount()
Get the number of segments in the Serial direction
|
int |
getTotalParallelCount()
Total parallel pixels per segment.
|
int |
getTotalParallelSize()
The total parallel size of this CCD.
|
int |
getTotalSerialCount()
Total serial pixels per segment.
|
int |
getTotalSerialSize()
The total serial size of this CCD.
|
CCDType |
getType()
Get the CCDTye for this CCD.
|
public CCDGeometry(int segmentRowCount,
int segmentColumnCount,
int serialActive,
int parallelActive,
int serialPrescan,
int serialOverscan,
int parallelOverscan,
CCDType type)
CCDType class.segmentRowCount - The number of segments in the horizonal (serial)
directionsegmentColumnCount - The number of segments in the vertical
(parallel) directionserialActive - The number of active pixels in the serial directionparallelActive - The number active pixels in the parallel directionserialPrescan - The number of serial prescan pixels for each
segment.serialOverscan - The number of overscan pixels in the serial
directionparallelOverscan - The number of overscan pixels in the parallel
directionpublic CCDGeometry getROIGeometry(int rows, int cols, int overRows, int overCols)
public int getSerialPrescanCount()
public int getParallelActiveCount()
public int getSerialActiveCount()
public int getSerialOverscanCount()
public int getParallelOverscanCount()
public int getTotalSerialCount()
public int getTotalParallelCount()
public int getTotalSerialSize()
CCDInterfacegetTotalSerialSize in interface CCDInterfacepublic int getActiveSerialSize()
CCDInterfacegetActiveSerialSize in interface CCDInterfacepublic int getTotalParallelSize()
CCDInterfacegetTotalParallelSize in interface CCDInterfacepublic int getActiveParallelSize()
CCDInterfacegetActiveParallelSize in interface CCDInterfacepublic CCDType getType()
CCDInterfacegetType in interface CCDInterfacepublic SegmentInterface getSegment(int row, int column)
getSegment in interface CCDInterfacerow - The input rowcolumn - The input columnpublic List<SegmentInterface> getSegments()
CCDInterfacegetSegments in interface CCDInterfacepublic void addSegment(int channel,
int row,
int column,
CCDGeometry.ReadoutOrder readoutOrder)
channel - The channel number (amplifier number) of the segment
(numbered from 1)row - The row containing the segment, numbered from 0 in the +Y
directioncolumn - The column containing the segment, numbered from 0 in the
+X directionreadoutOrder - The readout direction for the amplifier.public int getParallelSegmentCount()
CCDInterfacegetParallelSegmentCount in interface CCDInterfacepublic int getSerialSegmentCount()
CCDInterfacegetSerialSegmentCount in interface CCDInterfaceCopyright © 2016 LSST. All rights reserved.