Skip to content

v0.0.2

Choose a tag to compare

@chad-earthscope chad-earthscope released this 20 Aug 17:26
· 62 commits to main since this release

Added

  • List-like access to trace IDs in MS3TraceList (indexing, slicing, iteration)
  • List-like access to segments in MS3TraceID (indexing, slicing, iteration)
  • MS3Record.with_datasamples() is a context manager for setting sample buffer, type, counts
    allowing an MS3Record to be used for record packing with zero-copy of data
  • MS3Record.from_file() and MS3Record.from_buffer() for convenience
  • MS3TraceList.from_file() for consistency and future flexibility
  • MS3TraceList.to_file() for writing miniSEED
  • MS3TraceSeg.has_same_data() for comparison
  • docstring documentation including examples
  • Comprehensive repr() and summary str() methods

Changed

  • Rename MS3TraceList.read_file() to MS3TraceList.add_file() for clarity

Removed

  • MS3TraceList.numtraces in favor of supporting len() directly
  • MS3TraceList.traceids() in favor of supporting iteration directly
  • MS3TraceID.numsegments in favor of supporting len() directly
  • MS3TraceID.segments() in favor of supporting iteration directly
  • MS3TraceList.read_files() as unnecessary