Skip to content
Snippets Groups Projects
  1. Mar 07, 2022
  2. Feb 04, 2022
  3. Jan 11, 2022
  4. Jan 06, 2022
  5. Jan 05, 2022
  6. May 13, 2021
  7. May 10, 2021
  8. May 07, 2021
  9. Jan 27, 2021
  10. Jan 26, 2021
  11. Jul 08, 2020
  12. Jun 30, 2020
  13. Jun 29, 2020
  14. Jun 26, 2020
  15. Jun 24, 2020
  16. Jun 19, 2020
  17. May 07, 2020
    • Jameson Rollins's avatar
      Merge branch 'split_refine' into 'master' · c137b04e
      Jameson Rollins authored
      Split up refine_time into two functions so the calculation can be called separately
      
      Closes #159
      
      See merge request !97
      c137b04e
    • Camilla Compton's avatar
      Split up refine_time into two functions so the calculation can be called separately · 9dd8482e
      Camilla Compton authored and Jameson Rollins's avatar Jameson Rollins committed
      This is mainly a copy/paste to split the refine.py function refine_time into two functions:
      
      * find_transition: Takes an input of the time window and dictionary containing information about the channel needed for refinement (channel, std, min); then outputs the threshold used and refined time.
      * refine_time: Does the job of the old refine_time function but calls new find_transition function to do the actual refinement calculation.
      
      The reason for this change is that in the future I would like add a plugin to look at speed or order of light falling off PDs. This plugin could then call the function refine_calculate rather than copy/pasting refinement code.
      
      Only change made to logic is on lines 58-60, where now if the refinement has already been done, the previously refined time will be used to center the search window rather than the transition_gps. This will not make a difference for the normal refinement but should speed up future plugins that use the refinement calculation as the search window could be smaller.
      
      Closes #159
      9dd8482e
  18. Apr 07, 2020
Loading