- class graphicle.data.StatusArray(graphicle.base.ArrayBase)[source]
Data structure containing status values for particle set.
New in version 0.1.0.
Changed in version 0.2.0: Added internal numpy interfaces for greater interoperability.
- Parameters:¶
- data : sequence[int]
Data representing the Monte-Carlo event generator’s status for each particle in the point cloud.
Notes
These codes are specific to the Monte-Carlo event generators (MCEGs) which produced the data. Currently, functionality has only been developed with
pythia8, using data from other MCEGs may yield unexpected results.Public members¶
- property data : ndarray[Any, dtype[int16]][source]
Array containing the status codes for the particle record.
- copy() StatusArray[source]
Copies the underlying data into a new StatusArray instance.
-
in_range(min_status: int =
0, ...) MaskArray[source] Returns a boolean mask over particles with status codes sitting within passed (inclusive) range.
- property hard_mask : MaskGroup[source]
Mask over the particle record, identifying the particles participating in the hard process.
- __setattr__(name, val)[source]
Method generated by attrs for class StatusArray.
- StatusArray(...)[source]
Method generated by attrs for class StatusArray.
- index(value, ...) integer -- return first index of value.[source]
Raises ValueError if the value is not present.
- classmethod __subclasshook__(C)[source]
Abstract classes can override this to customize issubclass().
-
StatusArray =
<bound method GenericAlias of <class 'collections.abc.Iterable'>>[source]
Last update:
Jun 27, 2025