In order to be able to use this module import it like this:
import mpacts.io.np_read #or assign it to a shorter name import mpacts.io.np_read as np_
SimpleState(step, BaseName_in=None, size=None)¶
State object to access the contents of file(s) written with simpleWriter.
- State object to access the contents of a DEMeter written file(s).
Can be used as an iterator (iterating over all saved time-steps) and with direct access ‘’ operator to access a specific time/time-step.
The ‘get’ member is used to return a specific array from the file.
SimpleState(name, parent, **kwargs)¶
get(pcName, arrayName, step=None)¶