Skip to content

field_eci

Defined in: magnetic.rs:76

fn field_eci(model: &dyn MagneticFieldModel, position_eci: &[arika::frame::Vec3<arika::frame::SimpleEci>](../../../../arika/api/structs/vec3/), epoch: &[arika::epoch::Epoch<arika::epoch::Utc>](../../../../arika/api/structs/epoch/)) -> [arika::frame::Vec3<arika::frame::SimpleEci>](../../../../arika/api/structs/vec3/)

SimpleEci convenience wrapper for field_inertial.

Retained for callers whose interface is itself typed in the simple ECI frame — the plugin WASM host’s magnetic-field-eci import, whose WIT signature takes a bare ECI position. Frame-generic code (models, controllers, sensors) calls field_inertial with its own frame instead.