New functionality plus bug fixes
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
- Removed ncomp in do_correlation(). Setup a warning message if old usage is used.
- Change defaults for acorr_only and xcorr_only both to False in do_correlation().
- 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. - Updated extract_corrdata() to read "side" attribute if available.
- Added merge_chunks() to merge correlation files, to reduce the number of files, with
the option for stacking.
DOWNLOADERS
- Return inventory in get_event_waveforms()
- Drop duplicates in get_sta_list() and fixed minor bug when channels might be skipped.
- Change default region to globe in get_events()
UTILS
- Added mag_duration(), modified from obspyDMT.utils.event_handler.py
- Renamed qml_to_event_list() to qml2list(). Added option to convert to pandas dataframe.
- Fixed a bug in slicing_trace(), where the index was float instead of integer.
- Added get_filelist() and slice_list().
- Fixed a bug in sclicing_trace() when returning zeros array with errors. changed to return
empty arrays.
PLOTTING
- Added plot_eventsequence() to plot event with time.
TYPES
- Added "side" attribute in CorrData() to mark whether the corrdata is two-sided or one-side only.
- Revised CorrData.plot() to check "side" attribute when plotting.
- Added copy() method in CorrData class to allow the user to copy the object, to avoid directly
modifying the object values. - 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. - Removed ngood attribute from CorrData, corresponding changes have been implemented for other
functions in "noise". - Added subset() method in CorrData() to subset data by time range.
- Added filter() method in CorrData() to filter corrdata.data.
- Added DvvData class to store dvv monitoring data.
MONITORING
- Added get_dvv() as a wrapper to measure dvv with given CorrData object.
- Added extract_dvvdata() to extract DvvData object from a ASDF file.
OBSMASTER
- Removed getdata() and deprecated getobsdata(). Data downloading is now handled all by downloaders.