Required
weights| Type: | npt.ArrayLike |
| Description: | The weights of the vector gradient source. Must be of shape (NUM_SOURCES, 4|9) or (4|9,). |
class MomentTensor(salvus.flow.collections.source_mechanism.SourceMechanism):
def __init__(self, weights: npt.ArrayLike): ...| Type: | npt.ArrayLike |
| Description: | The weights of the vector gradient source. Must be of shape (NUM_SOURCES, 4|9) or (4|9,). |
int | tuple[int, int])-The dimensionality of the source mechanism.def copy(self) -> typing.Self: ...def to_2d(self) -> typing.Self: ...def to_3d(self) -> typing.Self: ...class Scalar(salvus.flow.collections.source_mechanism.SourceMechanism):
def __init__(self, weights: npt.ArrayLike): ...| Type: | npt.ArrayLike |
| Description: | The weights of the scalar source. Must be of shape (NUM_SOURCES, 1) or (1,). |
tuple[int, int])-Return the dimensionality of the the source mechanism.def copy(self) -> typing.Self: ...def to_2d(self) -> typing.Self: ...def to_3d(self) -> typing.Self: ...class ScalarGradient(salvus.flow.collections.source_mechanism.SourceMechanism):
def __init__(self, weights: npt.ArrayLike): ...| Type: | npt.ArrayLike |
| Description: | The weights of the scalar gradient source. Must be of shape (NUM_SOURCES, 2|3) or (2|3,). |
int | tuple[int, int])-The dimensionality of the source mechanism.def copy(self) -> typing.Self: ...def to_2d(self) -> typing.Self: ...def to_3d(self) -> typing.Self: ...class SourceMechanism(abc.ABC):
def __init__(self, weights: npt.ArrayLike): ...| Type: | npt.ArrayLike |
| Description: | The weights as an array. |
int | tuple[int, int])-The dimensionality of the source mechanism.def copy(self) -> typing.Self: ...def to_2d(self) -> typing.Self: ...def to_3d(self) -> typing.Self: ...class Vector(salvus.flow.collections.source_mechanism.SourceMechanism):
def __init__(self, weights: npt.ArrayLike): ...| Type: | npt.ArrayLike |
| Description: | The weights of the scalar gradient source. Must be of shape (NUM_SOURCES, 2|3) or (2|3,). |
int | tuple[int, int])-The dimensionality of the source mechanism.def copy(self) -> typing.Self: ...def to_2d(self) -> typing.Self: ...def to_3d(self) -> typing.Self: ...class VectorGradient(salvus.flow.collections.source_mechanism.SourceMechanism):
def __init__(self, weights: npt.ArrayLike): ...| Type: | npt.ArrayLike |
| Description: | The weights of the vector gradient source. Must be of (NUM_SOURCES, 4|9) or (4|9,). |
int | tuple[int, int])-The dimensionality of the source mechanism.def copy(self) -> typing.Self: ...def to_2d(self) -> typing.Self: ...def to_3d(self) -> typing.Self: ...