## Uses of Class
org.eclipse.january.dataset.Slice

- Packages that use Slice
  Package | Description
  --- | ---
  org.eclipse.january.dataset |
  org.eclipse.january.metadata |

- - ### Uses of Slice in org.eclipse.january.dataset

    Methods in org.eclipse.january.dataset that return Slice
    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.

    Methods in org.eclipse.january.dataset with parameters of type 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` | LazyDataset.`getSlice(IMonitor monitor, Slice... slice)`
    `IDataset` | ILazyDataset.`getSlice(IMonitor monitor, Slice... slice)` Get a slice of the dataset.
    `Dataset` | Dataset.`getSlice(IMonitor mon, Slice... slice)`
    `CompoundDataset` | CompoundDataset.`getSlice(IMonitor mon, Slice... slice)`
    `Dataset` | AggregateDataset.`getSlice(IMonitor monitor, Slice... slice)`
    `Dataset` | AbstractDataset.`getSlice(IMonitor monitor, Slice... slice)`
    `CompoundDataset` | AbstractCompoundDataset.`getSlice(IMonitor mon, Slice... slice)`
    `Dataset` | LazyDataset.`getSlice(Slice... slice)`
    `IDataset` | ILazyDataset.`getSlice(Slice... slice)` Get a slice of the dataset.
    `IDataset` | IDataset.`getSlice(Slice... slice)`
    `Dataset` | Dataset.`getSlice(Slice... slice)`
    `CompoundDataset` | CompoundDataset.`getSlice(Slice... slice)`
    `Dataset` | AggregateDataset.`getSlice(Slice... slice)`
    `Dataset` | AbstractDataset.`getSlice(Slice... slice)`
    `CompoundDataset` | AbstractCompoundDataset.`getSlice(Slice... slice)`
    `LazyWriteableDataset` | LazyWriteableDataset.`getSliceView(Slice... slice)`
    `LazyDataset` | LazyDataset.`getSliceView(Slice... slice)`
    `ILazyDataset` | ILazyDataset.`getSliceView(Slice... slice)` Get a slice of the dataset.
    `IDataset` | IDataset.`getSliceView(Slice... slice)` Get a slice of the dataset.
    `Dataset` | Dataset.`getSliceView(Slice... slice)`
    `CompoundDataset` | CompoundDataset.`getSliceView(Slice... slice)`
    `AggregateDataset` | AggregateDataset.`getSliceView(Slice... slice)`
    `Dataset` | AbstractDataset.`getSliceView(Slice... slice)`
    `CompoundDataset` | AbstractCompoundDataset.`getSliceView(Slice... slice)`
    `void` | SliceND.`setSlice(int i, Slice slice)` Set slice for given dimension.
    `Dataset` | Dataset.`setSlice(Object obj, Slice... slice)` This is modelled after the NumPy array slice
    `CompoundDataset` | CompoundDataset.`setSlice(Object object, Slice... slice)`
    `Dataset` | AbstractDataset.`setSlice(Object obj, Slice... slice)`
    `CompoundDataset` | AbstractCompoundDataset.`setSlice(Object object, Slice... slice)`

    Constructors in org.eclipse.january.dataset with parameters of type 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.

  - ### Uses of Slice in org.eclipse.january.metadata

    Methods in org.eclipse.january.metadata that return Slice
    Modifier and Type | Method and Description
    --- | ---
    `Slice[]` | OriginMetadata.`getSliceFromInput()` The starting slice
    `Slice[]` | OriginMetadata.`getSliceInOutput()` Current slice information.

    Methods in org.eclipse.january.metadata with parameters of type Slice
    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–2018 Eclipse Foundation. All rights reserved.