empyrean.OriginSwitchingConfig¶
- class OriginSwitchingConfig(enabled=True, hysteresis=0.2)[source]
Bases:
objectTrajectory splitting at body acceleration-dominance boundaries (Amato/Baù/Bombardelli 2017 §6). Default enabled at the empyrean wrapper layer for the planetary-encounter workflow.
When
enabled = Truethe integrator re-centers on the dominant body when its gravitational acceleration on the particle exceeds the integration origin’s. This dramatically improves accuracy through deep planetary encounters by keeping the integrated radius vector small (body-relative) instead of the catastrophically- cancelling 1-AU-scale Sun-relative difference.Methods
__init__([enabled, hysteresis])Attributes
enabledEnable trajectory splitting.
hysteresisHysteresis band around the acceleration-ratio crossover (
0.2= ±20 %).- enabled: bool = True
Enable trajectory splitting. Default
True(matches the Rust wrapper’s brand default for the planetary-encounter workflow).
- hysteresis: float = 0.2
Hysteresis band around the acceleration-ratio crossover (
0.2= ±20 %).