Skip to content

Commit

Permalink
Fix getting dt for APSensing format.
Browse files Browse the repository at this point in the history
  • Loading branch information
atrabattoni committed Dec 6, 2024
1 parent e52717b commit 9eb33ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdas/io/apsensing.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def read(fname):
with h5py.File(fname, "r") as file:
t0 = file["Metadata"]["Timestamp"][()].item().decode()
fs = file["DAQ"]["SamplingRate"][()].item()
fs = file["DAQ"]["RepetitionFrequency"][()].item()
dx = file["ProcessingServer"]["SpatialSampling"][()].item()
data = VirtualSource(file["DAS"])
if t0.endswith("Z"):
Expand Down

0 comments on commit 9eb33ae

Please sign in to comment.