Print

Print


Hi Jack,

You are right - like almost all fsl programs at the moment,
avwcreatehd writes out in the filetype specified by FSLOUTPUTTYPE.
Apart from changing this variable, the other way to change the
filetype is to use (after it is written) the utility avwchfiletype.

All the best,
        Mark




On Thu, 14 Oct 2004, Jack Grinband wrote:

> Hi Steve,
> Thanks for the reply.
> I just wanted to confirm... there's no way to specify the output type of avwcreatehd as an input to
> avwcreatehd?  The only way is through FSLOUTPUTTYPE, right?
> thanks,
>
> jack
>
> On Thu, 14 Oct 2004 09:45:38 +0100, Stephen Smith <[log in to unmask]> wrote:
>
> >Hi - see the entry for acwcreatehd at
> >http://www.fmrib.ox.ac.uk/fsl/avwutils/
> >
> >In particular - first make sure all run1* files are deleted.
> >
> >Then set FSLOUTPUTTYPE according to what filetype you need (see
> >http://www.fmrib.ox.ac.uk/fsl/fsl/formats.html )
> >
> >Then run avwcreatehd (note that it will create empty image data unlike
> >before).
> >
> >Then fill the image data with whatever method you want.
> >
> >Cheers, Steve.
> >
> >
> >
> >On Thu, 14 Oct 2004, Jack Grinband wrote:
> >
> >> Hi All,
> >> I'm having some trouble creating headers.  When I run avwcreatehd I get an error:
> >> Multiple image files detected.  STOPPED.
> >>
> >> I commented out the FSLMULTIFILEQUIT.  Now there's no more "STOPPED" error.  But I still get
> the
> >> "multiple files detected" warning.
> >>
> >> When I set the filename to "run1", avwcreatehd generates an .img file and a .gz file.  No .hdr
> file is
> >> created.
> >> If I set the filename to "run1.img", then avwcreatehd generates an .img file and a .hdr file
> >> (although the file type of the .hdr is Nifti not Analyze).
> >> In either case, FSLview and slices say that the files are empty.
> >>
> >> Am I doing something wrong or is there a problem with avwcreatehd?
> >> thanks,
> >>
> >> jack
> >>
> >
> >--
> > Stephen M. Smith  DPhil
> > Associate Director, FMRIB and Analysis Research Coordinator
> >
> > Oxford University Centre for Functional MRI of the Brain
> > John Radcliffe Hospital, Headington, Oxford OX3 9DU, UK
> > +44 (0) 1865 222726  (fax 222717)
> >
> > [log in to unmask]  http://www.fmrib.ox.ac.uk/~steve
>