[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems reading fits file
From: |
Ben Abbott |
Subject: |
Re: problems reading fits file |
Date: |
Mon, 06 May 2013 22:08:01 +0800 |
On May 6, 2013, at 9:58 PM, Poulette Poulette wrote:
> De : Ben Abbott <address@hidden>
> À : Poulette Poulette <address@hidden>
> Cc : "address@hidden" <address@hidden>
> Envoyé le : Lundi 6 mai 2013 15h50
> Objet : Re: problems reading fits file
>
>
> On May 6, 2013, at 9:41 PM, Poulette Poulette wrote:
>
> > De : Ben Abbott <address@hidden>
> > À : Poulette Poulette <address@hidden>
> > Cc : "address@hidden" <address@hidden>
> > Envoyé le : Lundi 6 mai 2013 15h28
> > Objet : Re: problems reading fits file
> >
> >
> > On May 6, 2013, at 9:24 PM, Poulette Poulette wrote:
> >
> > > De : Ben Abbott <address@hidden>
> > > À : Poulette Poulette <address@hidden>
> > > Cc : "address@hidden" <address@hidden>
> > > Envoyé le : Lundi 6 mai 2013 15h12
> > > Objet : Re: problems reading fits file
> > >
> > > On May 6, 2013, at 9:01 PM, Poulette Poulette wrote:
> > >
> > > > Hi all,
> > > >
> > > > I am a new octave's user.
> > > > I have a macbook pro with Mountain Lion (osX 10.8.3). I installed the
> > > > octave-devel +atlas+docs through macports (I already have Xcode,
> > > > Xquartz, etc...).
> > > > The read_fits_image function doesn't work.
> > > > I tried to install the fits package but still doesn't work…
> > > >
> > > > Someone could explain me how to install the fits package correctly ?
> > > >
> > > > Thank you very much.
> > >
> > > Macports does not yet have a port for the fits package.
> > >
> > > I've not tried to install the fits package myself, but I noticed that it
> > > requires libcfitsio. Did you install the macports "cfitsio" package
> > > before trying to install the fits package?
> > >
> > > sudo port install cfitsio
> > >
> > > Ben
> > >
> > > Dear Ben,
> > >
> > > I tried to install the fits package from
> > > http://octave.sourceforge.net/fits/
> > > I suppose there are some PATH problems but don't know the way to solve
> > > them.
> > > I have libcfitsio well installed, I often use it.
> > >
> > > Thanks for your message.
> >
> > Where is libcfitsio installed?
> >
> > Can you tell us exactly what you did to install fits? Did you install
> > using the commands below, or did you do something else?
> >
> > pkg install -forge fits
> > pkg load fits
> >
> > Bne
> >
> > libcfitsio is linked in /opt/local/lib and works with all my codes.
> >
> > I installed the fits package using "make".
> > I am now trying to install it with the commands you sent me but I don't
> > have the "pkg" command installed.
> >
> > Thanks
>
> The "pkg" command is one of Octave's core functions. If you don't have that
> function, then something is seriously wrong with your installation. From
> Octave's prompt, what does "which pkg" return?
>
> Ben
>
> ok ! I didn't understand that "pkg" was an octave function.
> The fits install seems to be ok now, but I still have the same problem:
> error: 'read_fits_image' undefined near line 5 column 8
I'd guess you still haven't loaded the "fits" package. If the command below
doesnt' return anything, then its not loaded.
which read_fits_image
To load the package ...
pkg load fits
Now ...
which read_fits_image
'read_fits_image' is a function from the file
/Users/bpabbott/octave/fits-1.0.2/x86_64-apple-darwin11.4.2-api-v48+/read_fits_image.oct
Ben
- problems reading fits file, Poulette Poulette, 2013/05/06
- Re: problems reading fits file, Ben Abbott, 2013/05/06
- Re: problems reading fits file, Ben Abbott, 2013/05/06
- Re: problems reading fits file, Poulette Poulette, 2013/05/06
- Re: problems reading fits file, Ben Abbott, 2013/05/06
- Re: problems reading fits file, Poulette Poulette, 2013/05/06
- Re: problems reading fits file, Ben Abbott, 2013/05/06
- Re: problems reading fits file, Poulette Poulette, 2013/05/06
- Re: problems reading fits file,
Ben Abbott <=
- Re: problems reading fits file, Poulette Poulette, 2013/05/06
- Re: problems reading fits file, Ben Abbott, 2013/05/06
- Re: problems reading fits file, c., 2013/05/06
- Re: problems reading fits file, Poulette Poulette, 2013/05/06
- Re: problems reading fits file, c., 2013/05/06