https://github.com/pdlporters/pdl-sampledata
Easy access to data used in the PDL examples and the PDL::Book
https://github.com/pdlporters/pdl-sampledata
Last synced: about 1 month ago
JSON representation
Easy access to data used in the PDL examples and the PDL::Book
- Host: GitHub
- URL: https://github.com/pdlporters/pdl-sampledata
- Owner: PDLPorters
- Created: 2012-01-20T02:36:22.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2021-09-22T20:01:36.000Z (almost 5 years ago)
- Last Synced: 2025-01-12T14:47:38.051Z (over 1 year ago)
- Language: Perl
- Homepage:
- Size: 219 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.pod
Awesome Lists containing this project
README
=head1 NAME
PDL::SampleData - Easy access to data used in the L examples and the L.
=head1 SYNOPSIS
use PDL::ShareDir ':all';
my $file = get_file('m51.fits');
my $pdl = get_pdl('m51.fits');
=head1 DESCRIPTION
C allows easy access to the data needed to follow along with the examples and the L.
=head1 FUNCTIONS
Nothing is exported by default. Any of the following functions may be explicitly imported, or import them all with the tag C<:all>.
=head2 get_file( filename )
Takes the name (with extension) of the file requested. On success it returns the absolute path to the file requested. On failure a warning is issued and C is returned.
=head2 get_pdl( filename )
Takes the name (with extension) of the file requested. On success it returns the data as a L object. On failure a warning is issued and a C is returned.
=head2 sample_files()
Takes no arguments, returns the sample data files that are available by using C.
=head1 SEE ALSO
=over 4
=item *
L
=item *
L
=back
=head1 SOURCE REPOSITORY
L
=head1 AUTHOR
Joel Berger, Ejoel.a.berger@gmail.comE
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2012 by Joel Berger
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.