public class ScriptingCommands extends Object
| Modifier and Type | Method and Description |
|---|---|
Map<SequencerType,String> |
getSequencerPaths()
Get the full path of the loaded sequencer files.
|
void |
raiseBadPixelAlert()
Temporary command for testing alerts
|
void |
setHeaderKeywords(Map<String,Serializable> headersMap)
Adds meta-data to be associated with the next image.
|
org.lsst.ccs.subsystem.imagehandling.data.FileList |
waitForFitsFiles(Duration timeout)
Wait until all FITS files have been written.
|
void |
waitForImages(Duration timeout)
Wait until all images have been received from the DAQ (but not
necessarily written as FITS files)
|
void |
waitForSequencer(Duration timeout)
Wait until the sequencer stops.
|
@Command(type=QUERY,
description="Wait for FITS files to be saved",
level=0,
autoAck=false)
public org.lsst.ccs.subsystem.imagehandling.data.FileList waitForFitsFiles(@Argument(defaultValue="PT30S")
Duration timeout)
timeout - The maximum duration to wait@Command(type=QUERY,
description="Wait for image data to arrive",
level=0,
autoAck=false)
public void waitForImages(@Argument(defaultValue="PT30S")
Duration timeout)
timeout - The maximum duration to wait@Command(type=QUERY,
description="Wait for sequencer to stop",
level=0,
autoAck=false)
public void waitForSequencer(@Argument(defaultValue="PT30S")
Duration timeout)
timeout - @Command(type=ACTION,
description="Set a header keyword value shared by all extensions",
level=0,
autoAck=false)
public void setHeaderKeywords(Map<String,Serializable> headersMap)
headersMap - @Command(type=QUERY,
description="Get the Map of reb path, sequencer file full path",
level=0)
public Map<SequencerType,String> getSequencerPaths()
@Command(type=ACTION,
description="Raise badPixels alert")
public void raiseBadPixelAlert()
Copyright © 2021 LSST. All rights reserved.