How exactly do I implement the CUT command in SAC for a case like this:
I have a file called data.sac
The number of points=N
I want only the first M points of the file.
It is the option given in the help files that Uses B and N, but I can not
implement it.
Thanks in advance.
I have a file called data.sac
The number of points=N
I want only the first M points of the file.
It is the option given in the help files that Uses B and N, but I can not
implement it.
Thanks in advance.
-
CUT command is used as follows
cut t1 t2
r data.sac
w over (if you want to keep the same filename)
cut off
t1 =N*dt
t2 = M*dt
To see the cut file
r data.sac
p1
Konstantia MAKRA
Dr Civil Engineer
Soil Dynamics Division
Institute of Engineering Seismology & Earthquake Engineering (ITSAK)
e-mail: makra<at>itsak.gr
On 19 Απρ 2010, at 6:04 ΠΜ, Mac Green wrote:
How exactly do I implement the CUT command in SAC for a case like
this:
I have a file called data.sac
The number of points=N
I want only the first M points of the file.
It is the option given in the help files that Uses B and N, but I
can not implement it.
Thanks in advance.
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
-
sorry, N is not the number of points in data.sac file but the first
point you want to cut the file and M the last one.
Konstantia MAKRA
Dr Civil Engineer
Soil Dynamics Division
Institute of Engineering Seismology & Earthquake Engineering (ITSAK)
e-mail: makra<at>itsak.gr
On 19 Απρ 2010, at 10:10 ΠΜ, Konstantia Makra wrote:
CUT command is used as follows
cut t1 t2
r data.sac
w over (if you want to keep the same filename)
cut off
t1 =N*dt
t2 = M*dt
To see the cut file
r data.sac
p1
Konstantia MAKRA
Dr Civil Engineer
Soil Dynamics Division
Institute of Engineering Seismology & Earthquake Engineering (ITSAK)
e-mail: makra<at>itsak.gr
On 19 ÎÏÏ 2010, at 6:04 Î Î, Mac Green wrote:
How exactly do I implement the CUT command in SAC for a case like
this:
I have a file called data.sac
The number of points=N
I want only the first M points of the file.
It is the option given in the help files that Uses B and N, but I
can not implement it.
Thanks in advance.
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help
-