Task.HistoryRecordingType, Task.JythonAddListener, Task.JythonSetAsDefault
Modifier and Type | Field and Description |
---|---|
static org.python.core.PyString |
__doc__
documentation.
|
Constructor and Description |
---|
ImportCubeTask()
Imports a cube.
|
Modifier and Type | Method and Description |
---|---|
TaskParameter |
buildParameterlocal(String name,
Class<?> type,
SignatureEntry.Type io,
String description)
Utility method to create a (partially) configured Parameter.
|
protected void |
checkWcsCtype(Wcs wcs)
check the ctype in the wcs.
|
protected Wcs |
checkWcsUnit(SimpleCube cube,
Product p)
check the unit in the WCS.
|
void |
execute()
Task registered to work on SimpleCube.
|
Map<String,Modifier> |
getCustomModifiers()
Returns the custom modifiers value.
|
protected void |
useHcssReader(SimpleCube cube,
String filename,
FitsArchive fa)
a method to read a fits file with a hcss product.
|
__call__, accept, addListener, addOutput, addTaskParameter, addTaskParameter, advance, advance, canBeApplicable, checkInterrupted, checkInterrupted, getClassName, getDeprecatedWith, getDescription, getGroups, getHistoryRecording, getLogger, getName, getOutput, getParameter, getSignature, getSourcePath, getValue, getViews, isJythonTask, outToIndex, outToIndex, perform, postamble, preamble, removeListener, reset, setAsDefaultValue, setDeprecatedWith, setDescription, setHistoryRecording, setName, setProgress, setSignature, setStatus, setStatusMessage, setValue, toString
public Map<String,Modifier> getCustomModifiers()
getCustomModifiers
in interface TaskApi
getCustomModifiers
in class Task
public void execute()
execute
in interface TaskApi
execute
in class Task
CubeTaskException
protected void checkWcsCtype(Wcs wcs)
wcs
- the wcs to checkprotected Wcs checkWcsUnit(SimpleCube cube, Product p)
cube
- the cube to checkp
- the product to importprotected void useHcssReader(SimpleCube cube, String filename, FitsArchive fa)
cube
- the cube to fillfilename
- the name of the file to readfa
- a pointer on a fits archivepublic TaskParameter buildParameterlocal(String name, Class<?> type, SignatureEntry.Type io, String description)
name
- parameter nametype
- classio
- INPUT, INOUT, OUTPUTdescription
- the text that describes the parameter (for tooltips, if null or empty it will not be used)