public class PlateSeries
extends Object
PlateSeries are mutable, one can add, remove and reorder ImagePlanes
Constructor and Description |
---|
PlateSeries(ImagePlane[][] groupedImagePlanes)
Constructs a PlateSeries from a 2D array of ImagePlanes.
|
PlateSeries(ImagePlane[][] groupedImagePlanes,
Comparator<PlatePlane> sortOrder)
Constructs a PlateSeries from a 2D array of ImagePlanes.
|
PlateSeries(PlatePlane[] listPlatePlanes)
Constructs a PlateSeries from a list of PlatePlanes.
|
PlateSeries(PlatePlane[] listPlatePlanes,
Comparator<PlatePlane> sortOrder)
Constructs a PlateSeries from a list of PlatePlanes with optional sorting of the PlatePlanes.
|
PlateSeries(PlateSeries plateSeries)
Clone constructor.
|
Modifier and Type | Method and Description |
---|---|
PlateSeries |
clone()
Create an independant clone of the PlateSeries instance.
|
File |
getDirectory()
Get the directory containing this PlateSeries.
|
PlatePlane[] |
getListPlatePlanes()
Return a copy of the list of PlatePlanes contained in this PlateSeries.
|
int |
getNumberOfChannels() |
int |
getNumberOfPlanes()
Return the number of PlatePlane in the PlateSeries.
|
int |
getNumberOfTimepoints() |
int |
getNumberOfZslices() |
PlatePlane |
getPlatePlane(int i)
Get the Plane at index i (0-based) in the PlateSeries.
|
Set<Integer> |
getSetChannels() |
Set<Integer> |
getSetColumns() |
Set<Character> |
getSetRows() |
Comparator<PlatePlane> |
getSortOrder() |
int |
getSubPosition()
Return the subposition of this PlateSeries.
|
static PlateSeries[] |
groupByPlateSeries(Dataset dataset)
Group the ImagePlanes in a dataset as PlateSeries, each corresponding to a hyperstack of plate montages.
|
void |
removePlane(int i)
Remove the PlatePlane at index i (0-based).
|
void |
sort(Comparator<PlatePlane> sortOrder)
Reorder the PlatePlane in the PlateSeries (in-place sort).
|
String |
toString() |
public PlateSeries(PlatePlane[] listPlatePlanes)
public PlateSeries(PlatePlane[] listPlatePlanes, Comparator<PlatePlane> sortOrder)
sortOrder
- can be null.public PlateSeries(ImagePlane[][] groupedImagePlanes)
public PlateSeries(ImagePlane[][] groupedImagePlanes, Comparator<PlatePlane> sortOrder)
public PlateSeries(PlateSeries plateSeries)
public PlateSeries clone()
clone
in class Object
public File getDirectory()
public int getSubPosition()
public Comparator<PlatePlane> getSortOrder()
public Set<Integer> getSetChannels()
public Set<Character> getSetRows()
public Set<Integer> getSetColumns()
public int getNumberOfChannels()
public int getNumberOfZslices()
public int getNumberOfTimepoints()
public PlatePlane[] getListPlatePlanes()
public PlatePlane getPlatePlane(int i)
public int getNumberOfPlanes()
public void removePlane(int i)
public void sort(Comparator<PlatePlane> sortOrder)
public String toString()
toString
in class Object
public static PlateSeries[] groupByPlateSeries(Dataset dataset)