py21cmfast.wrapper.arraystate.ArrayState¶
- class py21cmfast.wrapper.arraystate.ArrayState¶
Define the memory state of a struct array.
- __str__()¶
Return a string representation of the ArrayState.
- Return type:
str
- computed()¶
Return new state indicating the array has been computed.
- Return type:
Self
- deinitialize()¶
Return new state that is not initialized.
- Return type:
Self
- dropped()¶
Return new state indicating the array has been dropped from memory.
- Return type:
Self
- initialize()¶
Return new state that is initialized.
- Return type:
Self
- loaded_from_disk()¶
Return new state indicating the array has been loaded from disk into memory.
- Return type:
Self
- purged_to_disk()¶
Return new state indicating the array has been written to disk and dropped.
- Return type:
Self
- written()¶
Return new state indicating the array has been written to disk.
- Return type:
Self
- property c_has_active_memory: bool¶
Whether C currently has initialized memory for this array.
- Return type:
bool
- c_memory¶
- computed_in_mem¶
- initialized¶
- property is_computed: bool¶
Whether the array is computed anywhere.
- Return type:
bool
- on_disk¶