public class Image extends Object implements Comparable<Image>
Folder.listImages(),
Folder.find(java.lang.String),
Folder.insert(ImageMetaData),
Store.addImageListener(ImageListener)| Modifier and Type | Method and Description |
|---|---|
Source |
addSource(org.lsst.ccs.utilities.location.Location location,
int[] registerValues)
Adds a new source to an image.This method will only succeed if the image is writable
|
int |
compareTo(Image o) |
void |
delete()
Deletes the image, This includes deleting its:
data buckets
metadata buckets
Catalog entry
|
boolean |
equals(Object obj) |
Source |
findSource(org.lsst.ccs.utilities.location.Location location)
Find the source corresponding to the given location
|
ImageMetaData |
getMetaData()
Get the metadata associated with this image
|
Store |
getStore()
Get the store in which this image resides.
|
int |
hashCode() |
List<Source> |
listSources()
List the sources associated with this image.Each source represents the
data obtained from a single REB.
|
void |
moveTo(String folderName)
Move the image to a different folder
|
String |
toString() |
public ImageMetaData getMetaData()
public List<Source> listSources() throws DAQException
DAQExceptionpublic void delete()
throws DAQException
DAQException - If something goes wrong.public void moveTo(String folderName) throws DAQException
folderName - The folder to move toDAQException - If the image move failspublic Source addSource(org.lsst.ccs.utilities.location.Location location, int[] registerValues) throws DAQException
location - The location corresponding to the source to be added.registerValues - The register values (meta-data) to be associated with the new source.DAQExceptionFolder.insert(ImageMetaData)public Source findSource(org.lsst.ccs.utilities.location.Location location)
location - The location to search forIllegalArgumentException - If the specified source does not exist in this image.public Store getStore()
public int compareTo(Image o)
compareTo in interface Comparable<Image>Copyright © 2020 LSST. All rights reserved.