Help regarding conversion of .ats files into txt format #13
Answered
by
fsmaibrgm
anilkuhembram
asked this question in
Q&A
-
I have many .ats files recorded from metronix system these files are in binary format, can I use your program to convert them into txt format. If so please suggest. |
Beta Was this translation helpful? Give feedback.
Answered by
fsmaibrgm
May 23, 2023
Replies: 1 comment 2 replies
-
import razorback as rzb
import pathlib
p = pathlib.Path()
for ats in p.rglob('*.ats'):
s = rzb.io.ats.load_ats([str(ats)])
print(ats, s.sampling_rate, s.start, s.data[0].compute()) This will print the ats file name, the sampling rate, the start time and the data values of each ats files in a directory. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
fsmaibrgm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will print the ats file name, the sampling rate, the start time and the data values of each ats files in a directory.
Surely, you can start from that to get what you want.