Bases: object
Base class for all data source objects
Read each data file and concatenate resulting dsets. This method tries to use multiprocessing if possible. This method uses cache_dset if this class is an instance of pymses Filter with self.remember_data==True
Returns : | fdset : flattened dataset |
---|
Datasets iterator method. Yield datasets from the datasource
Sets the maximum AMR grid level to read in the datasource
Parameters : | max_read_level : int
|
---|
Bases: pymses.core.sources.Source
Data source filter generic class.
Abstract filtered_dset() method
Get the filtered result of self.source.get_domain_dset(idomain)
Parameters : | idomain : int
|
---|---|
Returns : | dset : Dataset
|
Returns : | type : int
|
---|
Source inherited behavior + apply the set_read_lmax() method to the source param.
Parameters : | max_read_level : int
|
---|
Bases: pymses.core.sources.Filter
SubsetFilter class. Selects a subset of datasets to read from the datasource
Parameters : | data_sublist : list of int
|
---|
Bases: pymses.core.sources.Source
Base class for all dataset objects
Scalar field addition method
Parameters : | name : string
data : array
|
---|
Vector field addition method
Parameters : | name : string
data : array
|
---|
Dictionary of the fields in the dataset
Returns an iterator over itself
Bases: pymses.core.datasets.Dataset
Point-based dataset base class
Add a random shift to point positions in order to avoid grid alignment effect on processed images. The field “size” (from CellsToPoints Filter and IsotropicExtPointDataset) is needed to know the shift amplitude. This method is processed only once, and turn the random_shift attribute to True.
Datasets concatenation class method. Return a new dataset
Parameters : | dsets : list of PointDataset
reorder_indices : array of int (default to None)
|
---|---|
Returns : | dset : the new created concatenated PointDataset |
Datasets filter method. Return a new dataset
Parameters : | mask_array : numpy.array of numpy.bool
|
---|---|
Returns : | dset : the new created filtered PointDataset |
Datasets reorder method. Return a new dataset
Parameters : | reorder_indices : array of int
|
---|---|
Returns : | dset : the new created reordered PointDataset |
Transform the dataset according to the given xform Transformation
Parameters : | xform : Transformation |
---|
Bases: pymses.core.datasets.PointDataset
Extended point dataset class
Returns : | sizes : array
|
---|