Slalib package
Gabriel wrote on Jun 18, 2009
Hi,
I need to access one of 'slalib' functions and I can't figure out how to do it. I've tried typing 'ecl> math', 'ecl> slalib', 'ecl> dtf2r', 'ecl> math.slalib' and more combinations of this, but nothing.
Thanks,
Cheers!
I need to access one of 'slalib' functions and I can't figure out how to do it. I've tried typing 'ecl> math', 'ecl> slalib', 'ecl> dtf2r', 'ecl> math.slalib' and more combinations of this, but nothing.
Thanks,
Cheers!
Mike Fitzpatrick wrote on Jun 18, 2009
SLALIB is a library for compiled tasks. If all you want is to convert an RA to radians you can do it in the CL directly, e.g.
These two are equivalent, there is also a complementary deg() function to convert to degrees. The CL handles sexagesimal directly, but you still need to multiple RA by 15 to get degrees as a floating point value.
-Mike
cl> =rad (ra * 15.0)
cl> = (ra * 15) * (PI / 180.)
These two are equivalent, there is also a complementary deg() function to convert to degrees. The CL handles sexagesimal directly, but you still need to multiple RA by 15 to get degrees as a floating point value.
-Mike
Last post on Jun 18, 2009