transfer_matrix_factory module
Provide an easy way to generate TransferMatrix.
- class TransferMatrixFactoryEnvelope1D(is_3d: bool)
Bases:
TransferMatrixFactoryProvide a method for easy creation of
TransferMatrix.- _preprocess(single_elts_results: list[dict[str, Any]]) ndarray
Preprocess the data given by the
BeamCalculator.
- run(first_cumulated_transfer_matrix: ndarray, single_elts_results: list[dict[str, Any]], element_to_index: Callable) TransferMatrix
Create the transfer matrix from a simulation.
- Parameters:
first_cumulated_transfer_matrix (numpy.ndarray) – Cumulated transfer matrix at beginning of
ListOfElementsunder study.single_elts_results (list[dict[str, Any]]) – Results of the solver.
- Returns:
Holds all cumulated transfer matrices in all the planes.
- Return type:
- _abc_impl = <_abc._abc_data object at 0x7f36f944da80>