Hello,
Is there a utility to edit programatically an AVW .hdr file?
I tried to do this like so:
(1) avwhd++ -x <xmlFile>
(2) sed <xmlFile>
(3) avwcreatehd++ <xmlFile>
but the .img file is overwritten (zeroed out!) in some cases.
Also some of the AVW header fieldnames as listed by avwhd++ are ignored by avwcreatehd++.
For example, adding 'dim1' to the xmlFile does not change the .hdr file but adding 'nx' does. Yet
'cal_min' updates the .hdr file just fine.
My sense is that the xmlFile is really more for nifti file formats.
Would avwedithd work some how using vi, ex, or vim and feeding it in a series of commands?
Any help would be appreciated.
Thanks,
- BettyAnn
|