help-octave
[Top][All Lists]
Advanced

[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 21:23:11 +0800

On May 6, 2013, at 9:12 PM, Ben Abbott wrote:

> 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

I gave installing fits a try.

pkg install -forge fits
pkg load fits
ver
----------------------------------------------------------------------
GNU Octave Version 3.6.4
GNU Octave License: GNU General Public License
Operating System: Darwin 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 
16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
        fits *|   1.0.2 | /Users/bpabbott/octave/fits-1.0.2
     general  |   1.3.2 | /Users/bpabbott/octave/general-1.3.2

Notice, that the "fits" package is loaded, but my "general" package is  not.  
To use the "fits" package you'll need to "pkg load fits".

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]