py21cmfast.wrapper.arraystate.ArrayState

class py21cmfast.wrapper.arraystate.ArrayState

Define the memory state of a struct array.

computed() Self

Return new state indicating the array has been computed.

Return type:

Self

deinitialize() Self

Return new state that is not initialized.

Return type:

Self

dropped() Self

Return new state indicating the array has been dropped from memory.

Return type:

Self

initialize() Self

Return new state that is initialized.

Return type:

Self

loaded_from_disk() Self

Return new state indicating the array has been loaded from disk into memory.

Return type:

Self

purged_to_disk() Self

Return new state indicating the array has been written to disk and dropped.

Return type:

Self

written() Self

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