3.10.1.17.1.2. opengate.postprocessors.datafetchers

3.10.1.17.1.2.1. Classes

DataFetcherBase

This is a base class for data fetchers.

DataFetcherWithFileHandle

This is a base class for data fetchers.

DataFetcherHdf5

This is a base class for data fetchers.

3.10.1.17.1.2.2. Functions

_setter_hook_input_path(self, p)

_setter_hook_input_actor(self, input_actor)

_setter_hook_path_in_hdf5_file(self, p)

3.10.1.17.1.2.3. Module Contents

opengate.postprocessors.datafetchers._setter_hook_input_path(self, p)[source]
opengate.postprocessors.datafetchers._setter_hook_input_actor(self, input_actor)[source]
class opengate.postprocessors.datafetchers.DataFetcherBase(*args, **kwargs)[source]

Bases: opengate.postprocessors.unitbase.ProcessingUnitBase

This is a base class for data fetchers.

user_info_defaults[source]
_input_path = None[source]
property can_be_initial_unit[source]

Generally, processing units cannot be the initial units in a processing tree. Those units which can be initial units, e.g. data fetcher, should override this property.

_get_input_path()[source]
close()[source]

Dummy implementation for inherited classes which do not implement this method.

class opengate.postprocessors.datafetchers.DataFetcherWithFileHandle(*args, **kwargs)[source]

Bases: DataFetcherBase

This is a base class for data fetchers.

_open_input_file_handle()[source]
abstract open_file(path)[source]

Needs concrete implementation in derived class.

property input_file_handle[source]
opengate.postprocessors.datafetchers._setter_hook_path_in_hdf5_file(self, p)[source]
class opengate.postprocessors.datafetchers.DataFetcherHdf5(*args, **kwargs)[source]

Bases: DataFetcherWithFileHandle

This is a base class for data fetchers.

user_info_defaults[source]
open_file(path)[source]

Needs concrete implementation in derived class.

do_your_job()[source]

Implement this in the concrete class.