MCFlowMace / CRESana

Analytic CRES signal modeling
2 stars 1 forks source link

Feature/asymmetric trap fix #12

Closed renereimann closed 5 months ago

renereimann commented 6 months ago

In case of asymetric trap only a scalar is used as argument of r_f(z) while the function assumed an array. Fixed by making argument atleast 1d and squeeze at the end to get it back to scalar if a single value.