public class PixSample extends MapperTask
| Modifier and Type | Class and Description |
|---|---|
static interface |
PixSample.CoordReader
Interface to turn input coordinate values into coordinate values
suitable for pixel sampling.
|
| Constructor and Description |
|---|
PixSample()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PixSample.CoordReader |
createCoordReader(SkySystem inSys,
SkySystem outSys)
Returns a coordinate reader which converts between a given input
and output coordinate system.
|
static ColumnSupplement |
createSampleSupplement(StarTable base,
PixSampler pixSampler,
PixSampler.StatMode statMode,
PixSample.CoordReader coordReader,
String lonExpr,
String latExpr,
String radExpr)
Creates a table containing pixel samples corresponding to the rows
of a base table in accordance with supplied parameters.
|
createProducer, getMapper, getTablesInputcreateExecutable, createProducer, getIdentity, getOutputMode, getParameterList, getParameters, getPurposepublic static ColumnSupplement createSampleSupplement(StarTable base, PixSampler pixSampler, PixSampler.StatMode statMode, PixSample.CoordReader coordReader, String lonExpr, String latExpr, String radExpr) throws IOException
base - base tablepixSampler - characterises pixel samplingcoordReader - turns input coordinate pairs into
lon/lat coords in the HEALPix coordinate systemlonExpr - JEL expression for first input coordinatelatExpr - JEL expression for second input coordinateradExpr - JEL expression for averaging radiusIOExceptionpublic static PixSample.CoordReader createCoordReader(SkySystem inSys, SkySystem outSys)
null for in/out systems.inSys - input sky coordinate systemoutSys - output sky coordinate systemCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.