public interface CCDTransform
CCDGeometry#getGlobalTransform(),
CCDGeometry#getActiveTransform()| Modifier and Type | Interface and Description |
|---|---|
static class |
CCDTransform.ActiveTransform
A CCDTransform which only considers active pixels for the absolute x,y
coordinates.
|
static class |
CCDTransform.GlobalTransform
A CCDTransform which considers all pixels for the absolute x,y
coordinates.
|
static class |
CCDTransform.PixelType
Enumerate the different types of pixel that can be read out.
|
| Modifier and Type | Method and Description |
|---|---|
static CCDTransform |
getActiveTransform(CCD ccd)
Create a CCDTransform which only considers active pixels for the absolute
x,y coordinates.
|
static CCDTransform |
getActiveTransform(CCD ccd,
ReadOutParameters readOutParameters)
Create a CCDTransform which only considers active pixels for the absolute
x,y coordinates.
|
static CCDTransform |
getGlobalTransform(CCD ccd)
Create a CCDTransform which considers all pixels for the absolute x,y
coordinates.
|
static CCDTransform |
getGlobalTransform(CCD ccd,
ReadOutParameters readOutParameters)
Create a CCDTransform which considers all pixels for the absolute x,y
coordinates.
|
int |
getGlobalX()
The global coordinate corresponding to the currently selected coordinate.
|
int |
getGlobalY()
The global coordinate corresponding to the currently selected coordinate.
|
int |
getParallel()
The parallel coordinate of the currently selected pixel within the current CCD segment.
|
CCDTransform.PixelType |
getPixelType()
The type of pixel corresponding to the currently selected coordinate.
|
ReadOutParameters |
getReadOutParameters()
Get the ReadOutParameters object used internally by the CCDTransform instance.
|
Segment |
getSegment()
The CCD segment corresponding to the currently selected coordinate.
|
int |
getSerial()
The serial position of the currently selected pixel within the current CCD segment.
|
int |
getX()
Get the CCD x coordinate
|
int |
getY()
Get the CCD selected y coordinate system
|
void |
setSegmentSerialParallel(Segment segment,
int serial,
int parallel)
Set the current segment, and serial and parallel pixel position within
the segment (in segment readout order).
|
void |
setXY(int x,
int y)
Select the absolute x,y CCD coordinate.
|
void setXY(int x,
int y)
x - The x coordinate in the CCD coordinate systemy - The u coordinate in the CCD coordinate systemint getX()
int getY()
void setSegmentSerialParallel(Segment segment, int serial, int parallel)
segment - The CCD segment (amplifier)serial - The serial coordinate within the CCD segmentparallel - The parallel coordinate within the CCD segmentSegment getSegment()
int getSerial()
int getParallel()
CCDTransform.PixelType getPixelType()
int getGlobalX()
CCDGeometry#getGlobalTransform() then
it will be equivalent the the x coordinate, but if it was obtained via
CCDGeometry#getActiveParallelSize() it will return the global x coordinate
corresponding to the currently selected active pixel.int getGlobalY()
CCDGeometry#getGlobalTransform() then
it will be equivalent the the y coordinate, but if it was obtained via
CCDGeometry#getActiveParallelSize() it will return the global y coordinate
corresponding to the currently selected active pixel.ReadOutParameters getReadOutParameters()
static CCDTransform getGlobalTransform(CCD ccd, ReadOutParameters readOutParameters)
ccd - The CCD on which this transformation acts.readOutParameters - The ReadOutParameters used to define the pre and over scan regionsstatic CCDTransform getGlobalTransform(CCD ccd)
ccd - The CCD on which this transformation acts.static CCDTransform getActiveTransform(CCD ccd, ReadOutParameters readOutParameters)
getGlobalX() and
getGlobalY() methods can be used to obtain the
global coordinate corresponding to the x,y given.ccd - The CCD on which this transformation acts.readOutParameters - The ReadOutParameters used to define the pre and over scan regionsstatic CCDTransform getActiveTransform(CCD ccd)
getGlobalX() and
getGlobalY() methods can be used to obtain the
global coordinate corresponding to the x,y given.
Internally it will use the default ReadOutParameters for the ccd type.ccd - The CCD on which this transformation acts.Copyright © 2016 LSST. All rights reserved.