public class FakeImage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private loci.common.Location |
directoryRoot |
private static org.slf4j.Logger |
LOGGER |
private ResourceNamer |
resourceNamer |
Constructor and Description |
---|
FakeImage(loci.common.Location directoryRoot) |
Modifier and Type | Method and Description |
---|---|
loci.common.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 loci.common.Location directoryRoot
private ResourceNamer resourceNamer
public static void isValidRange(int arg, int min, int max)
public loci.common.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.java.lang.IllegalArgumentException
- when any of the arguments fail validation.java.lang.NullPointerException
- when null specified as argument value.Copyright © 2023 Open Microscopy Environment