Skip to content

New functionality plus bug fixes

Compare
Choose a tag to compare
@xtyangpsp xtyangpsp released this 01 Oct 21:31
· 246 commits to master since this release

We have a lot of updates in this release. monitoring module is more functioning now. Here is the list of updates:

Updates in v0.6.3
NOISE

  1. Removed ncomp in do_correlation(). Setup a warning message if old usage is used.
  2. Change defaults for acorr_only and xcorr_only both to False in do_correlation().
  3. Added option to stack in merging(). This option could replace do_stacking() if no
    rotation. Renamed merging() to merge_pairs(). The old name is kept for compatibility.
  4. Updated extract_corrdata() to read "side" attribute if available.
  5. Added merge_chunks() to merge correlation files, to reduce the number of files, with
    the option for stacking.

DOWNLOADERS

  1. Return inventory in get_event_waveforms()
  2. Drop duplicates in get_sta_list() and fixed minor bug when channels might be skipped.
  3. Change default region to globe in get_events()

UTILS

  1. Added mag_duration(), modified from obspyDMT.utils.event_handler.py
  2. Renamed qml_to_event_list() to qml2list(). Added option to convert to pandas dataframe.
  3. Fixed a bug in slicing_trace(), where the index was float instead of integer.
  4. Added get_filelist() and slice_list().
  5. Fixed a bug in sclicing_trace() when returning zeros array with errors. changed to return
    empty arrays.

PLOTTING

  1. Added plot_eventsequence() to plot event with time.

TYPES

  1. Added "side" attribute in CorrData() to mark whether the corrdata is two-sided or one-side only.
  2. Revised CorrData.plot() to check "side" attribute when plotting.
  3. Added copy() method in CorrData class to allow the user to copy the object, to avoid directly
    modifying the object values.
  4. Added split() method in CorrData class to split the negative and positive sides of the data. This
    is needed when the user wants to analyze the two sides separately.
  5. Removed ngood attribute from CorrData, corresponding changes have been implemented for other
    functions in "noise".
  6. Added subset() method in CorrData() to subset data by time range.
  7. Added filter() method in CorrData() to filter corrdata.data.
  8. Added DvvData class to store dvv monitoring data.

MONITORING

  1. Added get_dvv() as a wrapper to measure dvv with given CorrData object.
  2. Added extract_dvvdata() to extract DvvData object from a ASDF file.

OBSMASTER

  1. Removed getdata() and deprecated getobsdata(). Data downloading is now handled all by downloaders.