pysecs.SECS.predict¶
-
SECS.predict(pred_loc, J=False)¶ Calculate the predicted magnetic field or currents.
After a set of observations has been fit to this system we can predict the magnetic fields or currents at any other location. This function uses those fit amplitudes to predict at the requested locations.
- Parameters
pred_loc (ndarray (npred x 3 [lat, lon, r])) – An array containing the locations where the predictions are desired.
J (boolean) – Whether to predict currents (J=True) or magnetic fields (J=False) Default: False (magnetic field prediction)
- Returns
The predicted values calculated from the current amplitudes that were fit to this system.
- Return type
ndarray (ntimes x npred x 3 [lat, lon, r])