-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Pyatoa currently does not allow the User to manually edit the automatically selected windows that come out of Pyflex, before they are used to calculate adjoint sources. However this can be a useful feature when you want to remove windows, isolate certain phases, or edit window start and end times.
Pyflex has option to write misfit windows to JSON files.
We can include the ability to read these files back in Pyatoa or Pyflex to be used for subsequent adjoint source creation. Workflow code this could look something like:
ds = ASDFDataSet("event.h5")
mgmt = Manager(ds=ds, config=cfg)
for station in stations:
mgmt.gather(station_code=station)
mgmt.standardize()
mgmt.preprocess()
mgmt.window(write="windows.json")
# >>> User manually edits the windows file here
for station in stations:
mgmt.load(ds=ds, file="windows.json", station=station)
mgmt.measure()
mgmt.plot()Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request