Package fr.igred.omero.meta
Class PlaneInfoWrapper
-
Field Summary
Fields inherited from class fr.igred.omero.GenericObjectWrapper
data
-
Constructor Summary
ConstructorDescriptionPlaneInfoWrapper
(PlaneInfoData object) Constructor of the class PlaneInfoWrapper. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the PlaneInfoData contained.static Time
computeMeanExposureTime
(Iterable<? extends PlaneInfoWrapper> planesInfo, int channel) Computes the mean exposure time for a given channel in a PlaneInfoWrapper collection.static Time
computeMeanTimeInterval
(Collection<? extends PlaneInfoWrapper> planesInfo, int sizeT) Computes the mean time interval from the deltaT in a PlaneInfoWrapper collection.Retrieves the plane deltaT.Retrieves the exposure time.static Length
getMinPosition
(Collection<? extends PlaneInfoWrapper> planesInfo, Function<? super PlaneInfoWrapper, ? extends Length> getter, ome.units.unit.Unit<ome.units.quantity.Length> unit) Retrieves the min value for the specified getter in a PlaneInfoWrapper collection.Retrieves the X stage position.Retrieves the Y stage position.Retrieves the Z stage position.int
getTheC()
Retrieves the plane channel index.int
getTheT()
Retrieves the plane time index.int
getTheZ()
Retrieves the plane slice index.Methods inherited from class fr.igred.omero.GenericObjectWrapper
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, delete, distinct, flatten, getCreated, getGroupId, getId, getOwner, getUpdated, saveAndUpdate, toString, wrap, wrap
-
Constructor Details
-
PlaneInfoWrapper
Constructor of the class PlaneInfoWrapper.- Parameters:
object
- The PlaneInfoData to wrap in the PlaneInfoWrapper.
-
-
Method Details
-
computeMeanTimeInterval
public static Time computeMeanTimeInterval(Collection<? extends PlaneInfoWrapper> planesInfo, int sizeT) Computes the mean time interval from the deltaT in a PlaneInfoWrapper collection.- Parameters:
planesInfo
- A collection of PlaneInfoWrappers.sizeT
- The number of time points for these planes.- Returns:
- See above.
-
computeMeanExposureTime
public static Time computeMeanExposureTime(Iterable<? extends PlaneInfoWrapper> planesInfo, int channel) Computes the mean exposure time for a given channel in a PlaneInfoWrapper collection.- Parameters:
planesInfo
- A collection of PlaneInfoWrappers.channel
- The channel index.- Returns:
- See above.
-
getMinPosition
public static Length getMinPosition(Collection<? extends PlaneInfoWrapper> planesInfo, Function<? super PlaneInfoWrapper, ? extends Length> getter, ome.units.unit.Unit<ome.units.quantity.Length> unit) Retrieves the min value for the specified getter in a PlaneInfoWrapper collection.- Parameters:
planesInfo
- A collection of PlaneInfoWrappers.getter
- The getter function to use.unit
- The unit to set the results in.- Returns:
- See above.
-
asPlaneInfoData
Deprecated.Returns the PlaneInfoData contained. UseGenericObjectWrapper.asDataObject()
instead.- Returns:
- See above.
-
getDeltaT
Retrieves the plane deltaT.- Returns:
- See above.
-
getExposureTime
Retrieves the exposure time.- Returns:
- See above.
-
getPositionX
Retrieves the X stage position.- Returns:
- See above.
-
getPositionY
Retrieves the Y stage position.- Returns:
- See above.
-
getPositionZ
Retrieves the Z stage position.- Returns:
- See above.
-
getTheC
public int getTheC()Retrieves the plane channel index.- Returns:
- See above.
-
getTheT
public int getTheT()Retrieves the plane time index.- Returns:
- See above.
-
getTheZ
public int getTheZ()Retrieves the plane slice index.- Returns:
- See above.
-