pysecs.SECS#
- class pysecs.SECS(sec_df_loc: ndarray | None = None, sec_cf_loc: ndarray | None = None)#
Spherical Elementary Current System (SECS).
The algorithm is implemented directly in spherical coordinates from the equations of the 1999 Amm & Viljanen paper [1].
- Parameters:
References
Methods
__init__([sec_df_loc, sec_cf_loc])fit(obs_loc, obs_B[, obs_std, epsilon, mode])Fits the SECS to the given observations.
Set all SECs to a unit current amplitude.
predict(pred_loc[, J])Calculate the predicted magnetic field or currents.
predict_B(pred_loc)Calculate the predicted magnetic fields.
predict_J(pred_loc)Calculate the predicted currents.
Attributes