MCFlowMace / CRESana

Analytic CRES signal modeling
GNU General Public License v3.0
2 stars 1 forks source link

Feature/cylinder symmetric analytic trap #7

Closed renereimann closed 1 year ago

renereimann commented 1 year ago

Implementation of an analytic representation of magnetic fields in current free space. The implementation is based on spherical harmonic / legende polynomial series. To implement the new field, the MultiCoilField was separated into an Field base class and the MultiCoilField class with behaviour unchanged. The AnalyticField class is a new class implementing the new method. Analytic Field gets a np.poly1d() instance that is the field along the z-axis (symmetry axis). Tested and works properly for me.