The "windowing & linear fit" method and "optimal filter/fft" method are in different modules.
The fitting method does always fit the right region.
The search always considers the entire 1.5 GHz range from 25-26.5.
Proposal:
1) have one class in the scripts subpackage which allows the user to select either (or any future added) algorithm for finding the resonance
2) debug the issue of finding a zero crossing but not selecting a reasonable very fine grained scan region, or change the algorithm
3) include a min_freq and max_freq which define a subinterval of arbitrary size and restrict the search to that window. GUI user should be able to specify, getting the guess from the hall probe should default to a reasonable window
The "windowing & linear fit" method and "optimal filter/fft" method are in different modules. The fitting method does always fit the right region. The search always considers the entire 1.5 GHz range from 25-26.5.
Proposal: 1) have one class in the scripts subpackage which allows the user to select either (or any future added) algorithm for finding the resonance 2) debug the issue of finding a zero crossing but not selecting a reasonable very fine grained scan region, or change the algorithm 3) include a min_freq and max_freq which define a subinterval of arbitrary size and restrict the search to that window. GUI user should be able to specify, getting the guess from the hall probe should default to a reasonable window