Package | Description |
---|---|
org.eclipse.january.dataset | |
org.eclipse.january.metadata |
Modifier and Type | Method and Description |
---|---|
Slice |
Slice.clone()
Creates a deep copy of the Slice.
|
static Slice[] |
Slice.convertFromString(String sliceString)
Converts string in a Slice array
|
Slice[] |
SliceND.convertToSlice()
Converts to a slice array all the Slices of the SliceND.
|
static Slice[] |
Slice.convertToSlice(int[] start,
int[] stop,
int[] step)
Converts a set of integer arrays in a slice array
|
Slice |
Slice.flip()
Flips the Slice direction, after this operation, the slice begins at
previous end point, steps in the opposite direction, and finishes at the
previous start point.
|
Slice |
Slice.setLength(int length)
Sets the maximal dimensions length of the Slice.
|
Modifier and Type | Method and Description |
---|---|
static void |
Slice.convertFromSlice(Slice[] slice,
int[] shape,
int[] start,
int[] stop,
int[] step)
Populates given start, stop, step arrays from given slice array
|
static String |
Slice.createString(Slice... slices)
Creates a string representation of slices.
|
Dataset |
AbstractDataset.getSlice(IMonitor monitor,
Slice... slice) |
Dataset |
LazyDataset.getSlice(IMonitor monitor,
Slice... slice) |
CompoundDataset |
AbstractCompoundDataset.getSlice(IMonitor mon,
Slice... slice) |
CompoundDataset |
CompoundDataset.getSlice(IMonitor mon,
Slice... slice) |
IDataset |
ILazyDataset.getSlice(IMonitor monitor,
Slice... slice)
Get a slice of the dataset.
|
Dataset |
Dataset.getSlice(IMonitor mon,
Slice... slice) |
Dataset |
AggregateDataset.getSlice(IMonitor monitor,
Slice... slice) |
Dataset |
AbstractDataset.getSlice(Slice... slice) |
IDataset |
IDataset.getSlice(Slice... slice) |
Dataset |
LazyDataset.getSlice(Slice... slice) |
CompoundDataset |
AbstractCompoundDataset.getSlice(Slice... slice) |
CompoundDataset |
CompoundDataset.getSlice(Slice... slice) |
IDataset |
ILazyDataset.getSlice(Slice... slice)
Get a slice of the dataset.
|
Dataset |
Dataset.getSlice(Slice... slice) |
Dataset |
AggregateDataset.getSlice(Slice... slice) |
Dataset |
AbstractDataset.getSliceView(Slice... slice) |
LazyWriteableDataset |
LazyWriteableDataset.getSliceView(Slice... slice) |
IDataset |
IDataset.getSliceView(Slice... slice)
Get a slice of the dataset.
|
LazyDataset |
LazyDataset.getSliceView(Slice... slice) |
CompoundDataset |
AbstractCompoundDataset.getSliceView(Slice... slice) |
CompoundDataset |
CompoundDataset.getSliceView(Slice... slice) |
ILazyDataset |
ILazyDataset.getSliceView(Slice... slice)
Get a slice of the dataset.
|
Dataset |
Dataset.getSliceView(Slice... slice) |
AggregateDataset |
AggregateDataset.getSliceView(Slice... slice) |
void |
SliceND.setSlice(int i,
Slice slice)
Set slice for given dimension.
|
Dataset |
AbstractDataset.setSlice(Object obj,
Slice... slice) |
CompoundDataset |
AbstractCompoundDataset.setSlice(Object object,
Slice... slice) |
CompoundDataset |
CompoundDataset.setSlice(Object object,
Slice... slice) |
Dataset |
Dataset.setSlice(Object obj,
Slice... slice)
This is modelled after the NumPy array slice
|
Constructor and Description |
---|
PositionIterator(int[] shape,
Slice[] slice,
int[] axes)
Constructor for an iterator that misses out several axes
|
SliceND(int[] shape,
int[] maxShape,
Slice... slice)
Construct a nD Slice from an array of 1D slices, if the maxShape is
null , it will be set to the maximum shape of the nD Slice. |
SliceND(int[] shape,
Slice... slice)
Construct a nD Slice from an array of 1D slices.
|
Modifier and Type | Method and Description |
---|---|
Slice[] |
OriginMetadata.getSliceFromInput()
The starting slice
|
Slice[] |
OriginMetadata.getSliceInOutput()
Current slice information.
|
Modifier and Type | Method and Description |
---|---|
void |
OriginMetadata.initialize(ILazyDataset parent,
Slice[] outSlice,
int[] dataDims,
String filePath,
String datasetName)
Initialize origin of dataset
|
Copyright © 2014–2019 Eclipse Foundation. All rights reserved.