Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Data conversion of FITS images in PDL

by swl (Priest)
on Aug 23, 2020 at 22:24 UTC ( #11121015=note: print w/replies, xml ) Need Help??


in reply to Data conversion of FITS images in PDL

The wfits documentation also lists an array-ref variant for the arguments.

What happens if you try that?

$x->wfits('bar.fits', [16]);

Update:

But now I look at the code, that will not work.

Try adding a hash ref as the third argument.

$x->wfits('bar.fits', 16, {});

And maybe file a bug with PDL. https://github.com/PDLPorters/pdl

Replies are listed 'Best First'.
Re^2: Data conversion of FITS images in PDL
by Xilman (Hermit) on Aug 24, 2020 at 09:27 UTC

    Many thanks. Your suggestion works a treat.

    I will submit a bug report.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11121015]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2020-10-26 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (250 votes). Check out past polls.

    Notices?