public interface MarsMetadata extends JsonConvertibleRecord, MarsRecord
These records may also contain BigDataViewer registration coordinates, video
locations, and channel names. The log contained in these records will contain
a history of commands run on this dataset and the molecule records associated
with it that are stored in the same MoleculeArchive
. The
MarsTable
inherited from AbstractMarsRecord
will contain
metadata for each frame in individual rows in order of collection.
This record format is designed for use with single-molecule time-series data
collected on TIRF microscopes or bead tracking microscopes. Therefore, these
data are assumed to be 2D only. If individual colors are recorded in separate
frames their information should be merged into a single row contained in the
MarsTable
.
Modifier and Type | Method and Description |
---|---|
MarsBdvSource |
getBdvSource(java.lang.String name)
Get the
MarsBdvSource with the name provided. |
java.util.Set<java.lang.String> |
getBdvSourceNames()
Get the set of BigDataViewer source names.
|
java.util.Collection<MarsBdvSource> |
getBdvSources()
Get the Collection of BigDataViewer sources with each in
MarsBdvSource format. |
java.lang.String |
getCollectionDate()
Get the Date when these data were collected.
|
MarsOMEImage |
getImage(int imageIndex) |
int |
getImageCount() |
java.lang.String |
getLog()
Get the log that contains the history of processing steps conducted on this
dataset and the associated molecule records contained in the same
MoleculeArchive . |
java.lang.String |
getMicroscopeName()
Get the name of the microscope used for data collection.
|
MarsOMEPlane |
getPlane(int imageIndex,
int planeIndex) |
MarsOMEPlane |
getPlane(int imageIndex,
int Z,
int C,
int T) |
java.lang.String |
getSourceDirectory()
Get the Source Directory where the images are stored.
|
boolean |
hasBdvSource(java.lang.String name)
Check if this record contains the BigDataViewer with the name provided.
|
boolean |
hasPlane(int imageIndex,
int planeIndex) |
java.util.stream.Stream<MarsOMEImage> |
images() |
void |
log(java.lang.String str)
Add to the log that contains the history of processing steps conducted on
this dataset and the associated molecule records contained in the same
MoleculeArchive . |
void |
logln(java.lang.String str)
Add to the log that contains the history of processing steps conducted on
this dataset and the associated molecule records contained in the same
MoleculeArchive . |
void |
merge(MarsMetadata metadata)
Used to merge another MarsMetadata record into this one.
|
void |
populateMetadata(ome.xml.meta.OMEXMLMetadata md) |
void |
putBdvSource(MarsBdvSource source)
Add or update the
MarsBdvSource with the name provided. |
void |
removeAllBdvSources()
Remove all
MarsBdvSource s. |
void |
removeBdvSource(java.lang.String name)
Remove the
MarsBdvSource with the name provided. |
void |
setImage(MarsOMEImage image,
int imageIndex) |
void |
setMicroscopeName(java.lang.String Microscope)
Set the name of the microscope used for data collection.
|
void |
setSourceDirectory(java.lang.String path)
Set the Source Directory where the images are stored.
|
addNote, addTag, getBooleanParameter, getNotes, getParameter, getParameters, getPosition, getPositionNames, getPositions, getRegion, getRegionNames, getRegions, getStringParameter, getTags, getTagsArray, getUID, hasBooleanParameter, hasDoubleParameter, hasNoTags, hasParameter, hasPosition, hasRegion, hasStringParameter, hasTag, merge, putPosition, putRegion, removeAllParameters, removeAllPositions, removeAllRegions, removeAllTags, removeParameter, removePosition, removeRegion, removeTag, setNotes, setParameter, setParameter, setParameter, setParent
dumpJSON, fromJSON, getJsonGenerator, getJsonParser, setJsonField, setShowWarnings, toJSON
void populateMetadata(ome.xml.meta.OMEXMLMetadata md)
void setImage(MarsOMEImage image, int imageIndex)
MarsOMEImage getImage(int imageIndex)
MarsOMEPlane getPlane(int imageIndex, int planeIndex)
boolean hasPlane(int imageIndex, int planeIndex)
MarsOMEPlane getPlane(int imageIndex, int Z, int C, int T)
int getImageCount()
java.util.stream.Stream<MarsOMEImage> images()
void setMicroscopeName(java.lang.String Microscope)
Microscope
- Name of the microscope used for collection.java.lang.String getMicroscopeName()
java.lang.String getCollectionDate()
java.lang.String getSourceDirectory()
void setSourceDirectory(java.lang.String path)
path
- The string file path.void merge(MarsMetadata metadata)
metadata
- MarsMetadata to merge into this one.void log(java.lang.String str)
MoleculeArchive
.str
- Message to add to the log.void logln(java.lang.String str)
MoleculeArchive
. Start a new line after adding the message.str
- Message to add to the log.java.lang.String getLog()
MoleculeArchive
.MarsBdvSource getBdvSource(java.lang.String name)
MarsBdvSource
with the name provided.name
- Name of the MarsBdvSource to retrieve.void putBdvSource(MarsBdvSource source)
MarsBdvSource
with the name provided. All
MarsBdvSource
are unique so record will be overwritten if they have
the same name.source
- Mars BigDataViewer Source to add to the MarsImageMetadata
record.void removeBdvSource(java.lang.String name)
MarsBdvSource
with the name provided.name
- Name of the MarsBdvSource to remove.void removeAllBdvSources()
MarsBdvSource
s.java.util.Collection<MarsBdvSource> getBdvSources()
MarsBdvSource
format.java.util.Set<java.lang.String> getBdvSourceNames()
boolean hasBdvSource(java.lang.String name)
name
- Name of the MarsBdvSource to check for.