search for: libwcs

Displaying 1 result from an estimated 1 matches for "libwcs".

Did you mean: libcs
2009 Oct 25
0
Using WCSLIB in R
...object on the sky into physical pixel positions in a FITS image in R. There is a C library that does this, WCSLIB by Mark Calabretta (http://www.atnf.csiro.au/people/mcalabre/WCS/), however I am unsure how to use it in R. I do not program in C, which adds to the problem. I have created the libwcs.so file and moved it to /usr/local/lib already, and am able to load the library in R using: > dyn.load("/usr/local/lib/libwcs.so") and then check that the function I need is available using: > is.loaded("wcss2p") [1] TRUE My problem now is how to actually use it, as...