DetectorSpec
DetectorSpec
Section titled “DetectorSpec”#include <sbio/formats/random/randfmt.hh>struct DetectorSpecDefined in src/lib/sbio/formats/random/randfmt.hh:305
A simplified description of a detector to allow specifying how to write payloads.
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
name |
variable |
Declared here |
type |
variable |
Declared here |
rank |
variable |
Declared here |
shape |
variable |
Declared here |
dtype |
variable |
Declared here |
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
char |
name |
Name of the detector. |
char |
type |
Type of the detector. |
hd_std::uint16_t |
rank |
Rank (dims) of the payload. |
hd_std::uint32_t |
shape |
Shape of the payload. |
ncarray::DType |
dtype |
Underlying payload data type. |
char nameDefined in src/lib/sbio/formats/random/randfmt.hh:306
Name of the detector.
char typeDefined in src/lib/sbio/formats/random/randfmt.hh:307
Type of the detector.
hd_std::uint16_t rank { 2 }Defined in src/lib/sbio/formats/random/randfmt.hh:308
Rank (dims) of the payload.
hd_std::uint32_t shape { 1024, 1024, 0, 0, 0 }Defined in src/lib/sbio/formats/random/randfmt.hh:309
Shape of the payload.
ncarray::DType dtype { ncarray::DType::uint16 }Defined in src/lib/sbio/formats/random/randfmt.hh:310
Underlying payload data type.