Required
identifier| Type: | str |
| Description: | The name/identifier of the receiver channel. |
class ReceiverChannel(
salvus.flow.utils.serialization_helpers.SerializationMixin,
salvus.flow.utils.deep_setters._DeepSetter,
):
def __init__(
self,
identifier: str,
input_receivers: typing.Sequence[str],
input_receiver_weights: npt.NDArray[np.float64],
input_receiver_delays: npt.NDArray[np.float64] | None = None,
): ...| Type: | str |
| Description: | The name/identifier of the receiver channel. |
| Type: | typing.Sequence[str] |
| Description: | The names/identifiers of all individual receivers making up said channel. |
| Type: | npt.NDArray[np.float64] |
| Description: | The weight of each input receiver. |
| Type: | npt.NDArray[np.float64] | None |
| Default value: | None |
| Description: | Optionally define a delay for each receiver in seconds to support beamforming channels. |
def from_json(d: dict) -> ReceiverChannel: ...| Type: | dict |
| Description: | Dictionary containing the init parameters and a few other things. |
def apply(self, d: dict | _DeepSetter) -> None: ...| Type: | dict | _DeepSetter |
| Description: | The dictionary to set. |
def copy(self) -> _DeepSetter: ...def get_dictionary(self) -> dict: ...def to_json(
self,
external_file_hash: types = None,
timer: types = None,
log_to_logger: bool = False,
comm: types = None,
) -> builtins.dict: ...| Type: | types |
| Default value: | None |
| Description: | Hash of any external files associated with this object. Can be passed here in which case it will be stored in a centralized location in the JSON file. |
| Type: | types |
| Default value: | None |
| Description: | Execution timer. |
| Type: | bool |
| Default value: | False |
| Description: | Log timings to the logger. |
| Type: | types |
| Default value: | None |
| Description: | MPI communicator, if any. |
def validate(self) -> None: ...