DASDAE / dascore

A python library for distributed fiber optic sensing
Other
71 stars 16 forks source link

spool.select doesn't support relative argument #362

Open d-chambers opened 4 months ago

d-chambers commented 4 months ago

Description

Patch.select supports a relative argument. Spool.select does not, but it should.

Example

spool = spool.select(time=(1, -1), relative=True) 

should trim 1 second from start/end of spool. Currently it just fails silently since extra kwargs are being suppressed.