Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Perl Module for Swiss Ephemeris?

by benn (Priest)
on Sep 07, 2003 at 13:19 UTC ( #289565=note: print w/replies, xml ) Need Help??


in reply to Perl Module for Swiss Ephemeris?

If you're wanting to use this now, you don't necessarily need a module. There appear to be command-line versions of all the programs in the suite (both Windows and *nix), allowing you to use backticks to simply do....
my $data = `swetest -b1.1.2002 -n1 -s1 -fPLBRS -pp -eswe`;
or whatever. (Data from the test page)

Should you need deeper interaction with the code, all the C source is available on their site. Looking at the amount of calculation going on in the code, you're probably better off wrapping this somehow (Inline::C / SWIG / XS ), rather than re-writing in Perl.

Hope this helps,
Ben.

Replies are listed 'Best First'.
Re^2: Perl Module for Swiss Ephemeris?
by Anonymous Monk on Mar 26, 2008 at 13:02 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://289565]
help
Chatterbox?
[LanX]: what are temps?
[moritz]: oh, the question was about creation, not indexing
[thepkd]: temporary variables
[moritz]: [ { a => [ { b => 1 } ] } ]
[choroba]: dereference ne creation
[choroba]: at least in my lingo
[moritz]: .oO( oh temps, oh moritz )
[GotToBTru]: you are correct, choroba, but of course there is no point in doing one without the other
[GotToBTru]: un less you're working on write-only memory
[1nickt]: my $x = $aohoaoh->[0]->{' foo'}->[0]->{'bar' }; should work

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2016-12-06 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (104 votes). Check out past polls.