Skip to content
Snippets Groups Projects
  1. Jan 28, 2021
  2. Dec 11, 2020
  3. Aug 07, 2020
  4. Feb 16, 2020
  5. Feb 02, 2020
  6. Jan 17, 2020
  7. Nov 19, 2019
  8. Nov 18, 2019
  9. Nov 16, 2019
  10. Nov 11, 2019
  11. Nov 10, 2019
  12. Nov 07, 2019
  13. Oct 18, 2019
  14. Oct 15, 2019
  15. Oct 11, 2019
    • Marcus Herrmann's avatar
      New: plot FMD (Frequency Magnitude Distribution) · 25d1b499
      Marcus Herrmann authored
      New post-processing command line argument plot-FMD
      + overhaul whole FMD plotting routine
      + outsource FMD parameter value estimation into a class
      + helper class to read/write FMD parameter value estimates to/from a json file
         (useful to reload bootstrap estimates based on a large number of iterations
          --> no need to repeat bootstrapping when changing only the plot binning,
                for instance, while the events are the same and the configuration is similar)
      
      Supported Mc estimation methods: MAXC, MBASS, MBS, FIX.
      These and more settings can be set up in the last section of `postprocessing.py`
      (e.g., the time range, the binning for Mc estimation, the Mc correction factor,
      the plot binning, and the bootstrap iterations).
      25d1b499
  16. Sep 25, 2019
    • Marcus Herrmann's avatar
      Bug fixes & minor improvements · 10a01eb3
      Marcus Herrmann authored
       - wrong backwards compatibility of convolve <-> correlate
       - TM.io.write_combined_catalog: facilitate loading det files with threshold suffix
       - TM.eventops.combine_catalogs: report which events got filled in
       - TM.io.get_detection_waveforms: extract events with correct timing/length
      10a01eb3
  17. Sep 20, 2019
  18. Sep 17, 2019
  19. Sep 13, 2019
  20. Sep 12, 2019
  21. Sep 11, 2019
    • Marcus Herrmann's avatar
      Improving template-family / cluster-based Amp-Mag regression · fa76fd82
      Marcus Herrmann authored
      (update for commit ff24946d)
      
       Now: properly handle filtered catalog events (i.e. within desired mag limit)
            that are associated with template events OUT of mag limit
            They can form a cluster/family, which is used for regression and applied
            to the detections.
            E.g., Template 3 is out of mag limit, but it detected several catalog
            events that are in the mag limit. Then, the regression for this cluster
            is applied to all detections found with template 3.
       
       + various minor tweaks, bug fixes, & better logging
      fa76fd82
    • Marcus Herrmann's avatar
      Various minor bug fixes, improvements, & clean-ups · 6caa0301
      Marcus Herrmann authored
      + providing a necessary function for previous commit 47802e0b
      6caa0301
    • Marcus Herrmann's avatar
      New: template-family / cluster-based Amp-Mag regression · ff24946d
      Marcus Herrmann authored
      + allow to fix the slope of the regression(s)
      + allow to plot Amp-Mag regression lines with the slope removed --> horizontal
      + refactoring & revision of related code
      + fixes a bug of 11050b3d (excl. catalog events didn't show up in the catalog)
      
      The config file has now two new parameters:
          MAG_REGRESS_TYPE: specifies whether to do the (old) all-in-one the or (new)
                            cluster-based/template-family-based regression)
          FIX_AMP_MAG_SLOPE: if provided, the slope of the regression(s) can be fixed
      
      In case of a cluster-based / template-family-based regression, the cluster
      association will be extracted from the detection list (i.e. template
      associations).
      
      Other:
          - optional: account for magnitude uncertainties in the regression
            (via weighting)
          - outsourced plotting of confidence and prediction intervals
            (TM.plotting._plot_CI_PI)
      
      Notes:
          - regression plots do not have the '_w1' suffix anymore
          - renamed `regression_catalog_used-maglim.dat` to
                    `regression_catalog_used.dat`
      ff24946d
    • Marcus Herrmann's avatar
      Revise TM.io.save_iter_to_file & load_iter_from_file · 873ed52f
      Marcus Herrmann authored
      New in save_iter_to_file():
       - the callable function is optional
         (which converts an iterable's list element to dict)
          --> no need to specify custom function if one only needs to
              dump the iterable's data using the `columns`'s names.
       - write out padded column names (to correspond with column widths)
      
      New in load_iter_from_file():
       - the callable function is optional
         (which converts the file's rows (as dict) to a list)
         --> reads all the data as strings
       - strip whitespace of column names to allow padded column names
      
      New: started to use numpydoc's docstring format:
      https://numpydoc.readthedocs.io/en/latest/format.html
      873ed52f
  22. Sep 09, 2019
  23. Sep 05, 2019
    • Marcus Herrmann's avatar
      New function: Retrieve waveforms of all detections · 47802e0b
      Marcus Herrmann authored
      Only required if SAVE_DETECTIONS = NO in the config file
         (which allows to only extract the waveforms for detections
          that end up in the uniqued detection list)
      
      How to use/call:
          python3 xcorr.py <config> post-processing get-detection-waveforms
      47802e0b
Loading