This invention discloses a method and
system for calculating non-causal
magnetic field strength based on an analytical model and a neural network. The method first obtains a fixed parameter set by fitting the equivalent permeability polynomial parameters of the analytical model based on training samples. Then, it calculates the analytical baseline sequence Ha(t) based on the input
magnetic flux density sequence B(t) and the fixed parameters. B(t) and Ha(t) are then constructed as feature sequences containing the original sequence, first-order difference, second-order difference, first-order cumulative sum, and inflection point indicators, respectively. These are concatenated with temperature features copied to the sequence length and input into a trained non-causal sequence neural
network model, outputting a residual sequence ΔH(t). The final predicted
magnetic field strength value is H(t) = Ha(t) + ΔH(t). This invention performs learning in the residual domain, reducing the difficulty of network modeling, and utilizes a bidirectional long short-
term memory network to achieve non-
causal inference in offline scenarios with known complete sequences, significantly improving prediction accuracy and generalization ability.