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(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.
|
createProducer, getMapper, getTablesInputcreateExecutable, createProducer, getOutputMode, getParameterList, getParameters, getPurposepublic 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 © 2017 Central Laboratory of the Research Councils. All Rights Reserved.