welltest_pta.EventCollection
- class welltest_pta.EventCollection[source]
Bases:
objectAn ordered, indexable container of
Eventobjects.Behaves like a list with extra convenience methods:
>>> wt.events # EventCollection >>> wt.events[0] # first event >>> wt.events["BU-2"] # by event_id >>> for e in wt.events: ... >>> len(wt.events)
Methods
__init__([events])export(path[, format])Export the catalogue (one row per event).
from_annotated_dataframe(df[, p_reservoir])Build an
EventCollectionfrom a DataFrame annotated by theEventDetector(i.e. with aneventcolumn).print()Attributes
- property drawdowns: EventCollection
- property buildups: EventCollection
- classmethod from_annotated_dataframe(df, p_reservoir=None)[source]
Build an
EventCollectionfrom a DataFrame annotated by theEventDetector(i.e. with aneventcolumn).- Parameters:
- Return type: