Package uk.ac.starlink.ttools.task
Class SkyDensityMap
- java.lang.Object
-
- uk.ac.starlink.ttools.task.ConsumerTask
-
- uk.ac.starlink.ttools.task.SingleMapperTask
-
- uk.ac.starlink.ttools.task.SkyDensityMap
-
- All Implemented Interfaces:
uk.ac.starlink.task.Task
public class SkyDensityMap extends SingleMapperTask
Calculates sky density maps and outputs them as tables.The current implementation has the limitation that the same combiner has to be used for all aggregated quantities. If you want to calculate for instance the median of some quantities and the mean of others, you're out of luck. It's hard to work out what the parameters would look like to do it more generally.
- Since:
- 18 Jul 2016
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description SkyDensityMap()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableProducer
createProducer(uk.ac.starlink.task.Environment env)
Returns an object which can produce the effective output table which will be consumed by this task.-
Methods inherited from class uk.ac.starlink.ttools.task.SingleMapperTask
createInputProducer
-
Methods inherited from class uk.ac.starlink.ttools.task.ConsumerTask
createExecutable, createProducer, getOutputMode, getParameterList, getParameters, getPurpose
-
-
-
-
Method Detail
-
createProducer
public TableProducer createProducer(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
Description copied from class:ConsumerTask
Returns an object which can produce the effective output table which will be consumed by this task.- Specified by:
createProducer
in classConsumerTask
- Parameters:
env
- execution environment- Returns:
- table producer
- Throws:
uk.ac.starlink.task.TaskException
-
-