spl_levels#
- pulserver.ir.spl_levels()[source]#
Return the sound pressure levels of each file of a chain, in the physical frame.
Each file’s loudest repetition is rotated by
rotationafter each block’s own rotation and filtered by the acoustic transfer function oflimits, aspypulseqpp.safety.check_spldoes; the sequences are not changed.- Parameters:
seq_path (Path | str) – The first file of the chain.
system (pypulseqpp.Opts) – Source of the gyromagnetic ratio.
limits (CheckLimits) – The acoustic transfer function.
designed (list[tuple[Path, pypulseqpp.Sequence]], default=None) –
(path, sequence)pairs of the chain asmrd._sequence.designed_chainreturns them, used in place of reading the files.rotation (np.ndarray, default=None) –
(3, 3)prescription rotation from logical to physical axes; the identity by default.
- Returns:
One per file, in play order.
- Return type:
- Raises:
ValueError – If
limitscarries no acoustic transfer function, a file of the chain cannot be read, orrotationis not orthonormal.