mqt.ionshuttler.linear.dd.phase¶
Integrate field exposure along compiled ion trajectories.
Module Contents¶
- accumulated_phase(timeline: CompiledTimeline, ion: int, t_start: int, t_end: int, field_profile: FieldProfile | None) float[source]¶
Return the signed field exposure over a half-open time interval.
- Parameters:
timeline – Reconstructed compiled schedule.
ion – Ion whose trajectory is integrated.
t_start – Inclusive start boundary.
t_end – Exclusive end boundary.
field_profile – Site-dependent field, or
Nonefor zero exposure.
- Returns:
The accumulated field exposure in timestep-normalized units.
- Raises:
ValueError – If the requested interval lies outside the timeline.