{"id":20011299,"url":"https://github.com/pdlporters/pdl-sampledata","last_synced_at":"2026-05-14T19:08:05.632Z","repository":{"id":2266963,"uuid":"3223223","full_name":"PDLPorters/PDL-SampleData","owner":"PDLPorters","description":"Easy access to data used in the PDL examples and the PDL::Book","archived":false,"fork":false,"pushed_at":"2021-09-22T20:01:36.000Z","size":224,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-12T14:47:38.051Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"lad1337/adba","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PDLPorters.png","metadata":{"files":{"readme":"README.pod","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-20T02:36:22.000Z","updated_at":"2014-09-09T00:30:51.000Z","dependencies_parsed_at":"2022-09-07T20:22:38.346Z","dependency_job_id":null,"html_url":"https://github.com/PDLPorters/PDL-SampleData","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDLPorters%2FPDL-SampleData","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDLPorters%2FPDL-SampleData/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDLPorters%2FPDL-SampleData/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDLPorters%2FPDL-SampleData/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PDLPorters","download_url":"https://codeload.github.com/PDLPorters/PDL-SampleData/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241447644,"owners_count":19964336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T07:25:12.212Z","updated_at":"2026-05-14T19:08:05.589Z","avatar_url":"https://github.com/PDLPorters.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"=head1 NAME\n\nPDL::SampleData - Easy access to data used in the L\u003cPDL\u003e examples and the L\u003cPDL::Book\u003e.\n\n=head1 SYNOPSIS\n\n use PDL::ShareDir ':all';\n my $file = get_file('m51.fits');\n my $pdl = get_pdl('m51.fits');\n\n=head1 DESCRIPTION\n\nC\u003cPDL::SampleData\u003e allows easy access to the data needed to follow along with the examples and the L\u003cPDL::Book\u003e.\n\n=head1 FUNCTIONS\n\nNothing is exported by default. Any of the following functions may be explicitly imported, or import them all with the tag  C\u003c:all\u003e.\n\n=head2 get_file( filename )\n\nTakes 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\u003cundef\u003e is returned.\n\n=head2 get_pdl( filename )\n\nTakes the name (with extension) of the file requested. On success it returns the data as a L\u003cPDL\u003e object. On failure a warning is issued and a C\u003cundef\u003e is returned.\n\n=head2 sample_files()\n\nTakes no arguments, returns the sample data files that are available by using C\u003cget_*\u003e.\n\n=head1 SEE ALSO\n\n=over 4\n\n=item *\n\nL\u003cPDL\u003e\n\n=item *\n\nL\u003cPDL::Book\u003e\n\n=back\n\n=head1 SOURCE REPOSITORY\n\nL\u003chttp://github.com/PDLPorters/PDL-SampleData\u003e\n\n=head1 AUTHOR\n\nJoel Berger, E\u003clt\u003ejoel.a.berger@gmail.comE\u003cgt\u003e\n\n=head1 COPYRIGHT AND LICENSE\n\nCopyright (C) 2012 by Joel Berger\n\nThis library is free software; you can redistribute it and/or modify\nit under the same terms as Perl itself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdlporters%2Fpdl-sampledata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdlporters%2Fpdl-sampledata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdlporters%2Fpdl-sampledata/lists"}