Thank you, Rick.
When I tried to input the varying run lenghts directly, with the following command:
1d_tool.py -infile dfile.rall.1D -set_run_lengths 171 168 259 321 323 257 -demean -write motion_demean.1D
This message is outputed in the terminal:
** set_runs: sum of run lengths != nt (1469): [171, 168, 259, 321, 323, 257]
Should I not be writing the -set_run_lengths in this command line? Not sure what !=nt means.
Thanks again,
AL