public class FakeImage extends Object
Modifier and Type | Field and Description |
---|---|
private Location |
directoryRoot |
private static org.slf4j.Logger |
LOGGER |
private ResourceNamer |
resourceNamer |
Modifier and Type | Method and Description |
---|---|
Location |
generateScreen(int plates,
int plateAcquisitions,
int rows,
int columns,
int fields)
Creates a fake SPW file/directory structure.
|
static void |
isValidRange(int arg,
int min,
int max) |
private static final org.slf4j.Logger LOGGER
private Location directoryRoot
private ResourceNamer resourceNamer
public FakeImage(Location directoryRoot)
public static void isValidRange(int arg, int min, int max)
public Location generateScreen(int plates, int plateAcquisitions, int rows, int columns, int fields)
1
and cannot be
null
. The structure appears on the file system as: foo.fake/ └── Plate000/ └── Run000/ └── WellA000/ └── Field000.fake ... ... WellA254/ WellB000/ ... WellAA000/ ... Run001/ ... Plate001/ ...
plates
- Number of plates in a screen (max 255).plateAcquisitions
- Number of plate acquisitions (runs) in a plate (max 255).rows
- Number of rows in a plate (max 255).columns
- Number of columns in a plate (max 255).fields
- Number of fields for a plate acquisition (max 255).Location
Instance representing the top-level directory
of the SPW structure.IllegalArgumentException
- when any of the arguments fail validation.NullPointerException
- when null specified as argument value.Copyright © 2016 Open Microscopy Environment