Welcome to iraf.net Tuesday, May 21 2024 @ 10:08 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Slalib package
   
Gaba_p
 06/18/2009 01:33PM (Read 2073 times)  
++++-
Regular Member

Status: offline


Registered: 10/10/2008
Posts: 104
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!

 
Profile Email Website
 Quote
fitz
 06/18/2009 01:33PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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.[code:1:fb73562236]
cl> =rad (ra * 15.0)
cl> = (ra * 15) * (PI / 180.)
[/code:1:fb73562236]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

 
Profile Email
 Quote
   
Content generated in: 0.09 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login