public final class ReadOutParameters extends Object
| Constructor and Description |
|---|
ReadOutParameters(CCDType type)
Create a full frame ReadOutParameters object for a given type of CCD
|
ReadOutParameters(CCDType ccdType,
int preRows,
int readRows,
int postRows,
int overRows,
int preCols,
int readCols,
int postCols,
int readCols2,
int overCols)
Segment redout parameters quantities according to
https://jira.slac.stanford.edu/projects/LSSTCCSRAFTS/issues/LSSTCCSRAFTS-67.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
getCCDTotalParallelSize(CCD ccd,
ReadOutParameters readOutParameters)
Utility method to get a CCD full parallel size for a given ReadOutParameter.
|
static int |
getCCDTotalSerialSize(CCD ccd,
ReadOutParameters readOutParameters)
Utility method to get a CCD full serial size for a given ReadOutParameter.
|
int |
getOverCols()
Get the number of the read columns in over scan.
|
int |
getOverRows()
Get the number of the read columns for the second sub-array.
|
int |
getParallelReadPixels()
Utility method to get the the number of pixels read in the parallel
direction.
|
int |
getPostCols()
Get the number of the discarded columns after the ones that have been read.
|
int |
getPostRows()
Get the number of the discarded rows after the ones that have been read.
|
int |
getPreCols()
Get the number of the skipped columns.
|
int |
getPreRows()
Get the number of the skipped rows.
|
int |
getReadCols()
Get the number of the read columns.
|
int |
getReadCols2()
Get the number of the read columns.
|
int |
getReadRows()
Get the number of the read rows.
|
int |
getSerialPrescan()
Get the serial prescan size.
|
int |
getSerialReadPixels()
Utility method to get the the number of pixels read in the serial
direction.
|
int |
getSerialRegister()
Utility method to get the serial register size.
|
int |
getTotalParallelSize()
Get the total parallel size in pixels.
|
int |
getTotalSerialSize()
Get the total serial size in pixels.
|
void |
setCCDType(CCDType ccdType)
Set the CCDType for this ReadOutParameter object.
|
void |
setOverCols(int overCols)
Set the number of the read columns in over scan.
|
void |
setOverRows(int overRows)
Set the number of the read rows in over scan.
|
void |
setPostCols(int postCols)
Set the number of the discarded columns after the ones that have been read.
|
void |
setPostRows(int postRows)
Set the number of the discarded rows after the ones that have been read.
|
void |
setPreCols(int preCols)
Set the number of the skipped columns.
|
void |
setPreRows(int preRows)
Set the number of the skipped rows.
|
void |
setReadCols(int readCols)
Set the number of the read columns.
|
void |
setReadCols2(int readCols2)
Set the number of the read columns for the second sub-array.
|
void |
setReadRows(int readRows)
Set the number of the read rows.
|
public ReadOutParameters(CCDType ccdType, int preRows, int readRows, int postRows, int overRows, int preCols, int readCols, int postCols, int readCols2, int overCols)
preRows - Rows skippedreadRows - Rows readpostRows - Rows discarded after the read rowsoverRows - Rows read in over scanpreCols - Columns skipped (this includes the pre scan columns)readCols - Columns readpostCols - Columns discarded after the read columnsreadCols2 - Columns read for the second sub-arrayoverCols - Columns read in over scanccdType - The CCD Typepublic ReadOutParameters(CCDType type)
type - The CCD type.public int getPreRows()
public void setPreRows(int preRows)
preRows - The number of skipped rows.public int getReadRows()
public void setReadRows(int readRows)
readRows - The number of read rows.public int getPostRows()
public void setPostRows(int postRows)
postRows - The number of discarded rows after the ones that have been read.public int getPreCols()
public void setPreCols(int preCols)
preCols - The number of skipped columns.public int getReadCols()
public void setReadCols(int readCols)
readCols - The number of read columns.public int getPostCols()
public void setPostCols(int postCols)
postCols - The number of discarded columns after the ones that have been read.public int getReadCols2()
public void setReadCols2(int readCols2)
readCols2 - The number of the read columns for the second sub-array.public int getOverRows()
public void setOverRows(int overRows)
overRows - The number of read rows in over scan.public int getOverCols()
public void setOverCols(int overCols)
overCols - The number of read columns in over scan.public int getSerialReadPixels()
public int getParallelReadPixels()
public int getSerialRegister()
public int getSerialPrescan()
public int getTotalSerialSize()
public int getTotalParallelSize()
public static int getCCDTotalSerialSize(CCD ccd, ReadOutParameters readOutParameters)
ccd - The CCD instance.readOutParameters - The ReadOutParameters.public static int getCCDTotalParallelSize(CCD ccd, ReadOutParameters readOutParameters)
ccd - The CCD instance.readOutParameters - The ReadOutParameters.public void setCCDType(CCDType ccdType)
ccdType - The CCD type.Copyright © 2017 LSST. All rights reserved.