MS3RecordList¶
- class pymseed.mstracelist.MS3RecordList(cffi_ptr, parent_tracelist)[source]¶
Bases:
objectWrapper around CFFI MS3RecordList structure
This class supports list-like access to the record pointers:
len(record_list) returns the number of records
record_list[i] returns the i-th record pointer
record_list[start:end] returns a slice of record pointers
for record_ptr in record_list: iterates over all record pointers
Invalidated when the owning
MS3TraceListis closed; using it afterward raisesValueErrorinstead of reading freed memory.- Parameters:
cffi_ptr (Any)
parent_tracelist (Any)