public class PixSample extends MapperTask
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
PixSample.CoordReader |
Interface to turn input coordinate values into coordinate values
suitable for pixel sampling.
|
| Constructor | Description |
|---|---|
PixSample() |
Constructor.
|
| Modifier and Type | Method | 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(uk.ac.starlink.table.StarTable base,
PixSampler pixSampler,
PixSampler.StatMode statMode,
PixSample.CoordReader coordReader,
java.lang.String lonExpr,
java.lang.String latExpr,
java.lang.String radExpr) |
Creates a table containing pixel samples corresponding to the rows
of a base table in accordance with supplied parameters.
|
createExecutable, createProducer, getOutputMode, getParameterList, getParameters, getPurposecreateProducer, getMapper, getTablesInputpublic static ColumnSupplement createSampleSupplement(uk.ac.starlink.table.StarTable base, PixSampler pixSampler, PixSampler.StatMode statMode, PixSample.CoordReader coordReader, java.lang.String lonExpr, java.lang.String latExpr, java.lang.String radExpr) throws java.io.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 radiusjava.io.IOExceptionpublic static PixSample.CoordReader createCoordReader(SkySystem inSys, SkySystem outSys)
null for in/out systems.inSys - input sky coordinate systemoutSys - output sky coordinate systemCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.