Skip to content
  • David Fairbrother's avatar
    Fix garbage RedField test input(s) · c7f970dd
    David Fairbrother authored and Peterson, Peter's avatar Peterson, Peter committed
    - Refactor RedField to use a built in named constant
    - Use numpy.power instead of **2
    
    For the test we were using a tiny Gauss value. The original value was
    0.1, for reference a Iron Bar Magnet has a value of 100G so naturally
    we're going to get garbage back out.
    
    Tweak the values in to be more sensible as they were falling off to 0
    due to the 1/x^2 calculation
    c7f970dd