[bd23186f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[bd23186f] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0aeb696] | 7 | <!-- Inserted as a reminder to do this. The mention of a test suite
|
---|
| 8 | is usually right before the root user installation commands. Please
|
---|
| 9 | delete these 12 (including one blank) lines after you are done.-->
|
---|
| 10 |
|
---|
| 11 | <!-- Use one of the two mentions below about a test suite,
|
---|
| 12 | delete the line that is not applicable. Of course, if the
|
---|
| 13 | test suite uses syntax other than "make check", revise the
|
---|
| 14 | line to reflect the actual syntax to run the test suite -->
|
---|
| 15 |
|
---|
| 16 | <!-- <para>This package does not come with a test suite.</para> -->
|
---|
| 17 | <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
---|
| 18 |
|
---|
[fce275e] | 19 | <!ENTITY pdl-download-http "&sourceforge-repo;/pdl/PDL-&pdl-version;.tar.gz">
|
---|
[fb2e525] | 20 | <!ENTITY pdl-download-ftp "&gentoo-ftp-repo;/PDL-&pdl-version;.tar.gz">
|
---|
[7dac9f1] | 21 | <!ENTITY pdl-md5sum "edd056a006eae8b46e8ef804b9774a93">
|
---|
| 22 | <!ENTITY pdl-size "2.1 MB">
|
---|
| 23 | <!ENTITY pdl-buildsize "74 MB">
|
---|
| 24 | <!ENTITY pdl-time "2.56 SBU">
|
---|
[bd23186f] | 25 | ]>
|
---|
| 26 |
|
---|
[31784c8] | 27 | <sect1 id="pdl" xreflabel="PDL-&pdl-version;">
|
---|
[7dac9f1] | 28 | <?dbhtml filename="pdl.html" ?>
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 | <title>PDL-&pdl-version;</title>
|
---|
| 32 |
|
---|
| 33 | <indexterm zone="pdl">
|
---|
| 34 | <primary sortas="a-PDL">PDL</primary>
|
---|
| 35 | </indexterm>
|
---|
| 36 |
|
---|
| 37 | <sect2 role="package">
|
---|
| 38 | <title>Introduction to PDL</title>
|
---|
| 39 |
|
---|
[dae2ba0b] | 40 | <para><application>PDL</application> (Perl Data Language) gives
|
---|
| 41 | standard <application>Perl</application> the ability to compactly store
|
---|
| 42 | and quickly manipulate the large N-dimensional data arrays common to
|
---|
| 43 | scientific computing. <application>PDL</application> turns
|
---|
| 44 | <application>Perl</application> into an array-oriented, numerical language
|
---|
[919683dc] | 45 | similar to such commercial packages as <application>IDL</application>
|
---|
[dae2ba0b] | 46 | and <application>MatLab</application>. One can write simple
|
---|
| 47 | <application>Perl</application> expressions to manipulate entire numerical
|
---|
[7dac9f1] | 48 | arrays all at once.</para>
|
---|
| 49 |
|
---|
[dae2ba0b] | 50 | <para><application>PDL</application> provides extensive numerical and
|
---|
| 51 | semi-numerical functionality with support for two- and three-dimensional
|
---|
| 52 | visualisation as well as a variety of I/O formats. The goal is to allow
|
---|
[b307885b] | 53 | <application>PDL</application> to interact with a variety of external
|
---|
| 54 | numerical packages, graphics and visualisation systems. Easy interfacing
|
---|
| 55 | to such systems is one of the core design features of
|
---|
| 56 | <application>PDL</application>.</para>
|
---|
[7dac9f1] | 57 |
|
---|
| 58 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 59 | <itemizedlist spacing="compact">
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Download (HTTP): <ulink url="&pdl-download-http;"/></para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Download (FTP): <ulink url="&pdl-download-ftp;"/></para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Download MD5 sum: &pdl-md5sum;</para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Download size: &pdl-size;</para>
|
---|
| 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>Estimated disk space required: &pdl-buildsize;</para>
|
---|
| 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>Estimated build time: &pdl-time;</para>
|
---|
| 77 | </listitem>
|
---|
| 78 | </itemizedlist>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect3">PDL Dependencies</bridgehead>
|
---|
| 81 |
|
---|
[dae2ba0b] | 82 | <para><application>PDL</application> is a collection of over 90
|
---|
| 83 | <application>Perl</application> modules. Some of these modules require
|
---|
[b307885b] | 84 | additional libraries, packages and/or <application>Perl</application>
|
---|
| 85 | modules for full functionality. Listed below are the modules which require
|
---|
| 86 | additional software or configuration. If you don't need a particular
|
---|
| 87 | module's functionality, you don't need to install its dependencies. The
|
---|
| 88 | dependency tree for each module is listed downward, meaning you'll need to
|
---|
| 89 | start at the bottom of a module's tree and work up. The dependencies are
|
---|
| 90 | listed in the same order as they are in the
|
---|
| 91 | <filename>DEPENDENCIES</filename> file, found in the package source
|
---|
| 92 | tree.</para>
|
---|
| 93 |
|
---|
| 94 | <para>This package (and many of the dependency packages) requires a Fortran
|
---|
| 95 | compiler for full functionality of all the different modules. The
|
---|
| 96 | <command>gfortran</command> compiler installed with the current BLFS
|
---|
| 97 | version of <application>GCC</application> (&gcc-version;) will not work. If
|
---|
| 98 | you want to compile the parts of this package that require a Fortran
|
---|
| 99 | compiler, you'll need to install a
|
---|
| 100 | <application>GCC</application>-3.x.x version of Fortran. The
|
---|
| 101 | <application>GCC</application> developers recommend using Fortran from
|
---|
| 102 | <application>GCC</application>-3.4.6. You can find specific instructions
|
---|
| 103 | to install a <application>GCC</application>-3.4.6 compiler on the
|
---|
[4e88613] | 104 | <ulink url="&blfs-wiki;/gcc3">BLFS
|
---|
[08f1ff7] | 105 | Wiki</ulink>. <!-- Alternatively, if you have a need to install
|
---|
[b307885b] | 106 | <xref linkend="gcc3"/>, you can add the Fortran compiler to the list of
|
---|
| 107 | compilers installed in those instructions. Don't forget to put the
|
---|
| 108 | directory containing the <command>{g,f}77</command> commands at the
|
---|
| 109 | beginning of your <envar>PATH</envar> environment variable before
|
---|
[08f1ff7] | 110 | beginning the compilation.--> </para>
|
---|
[7dac9f1] | 111 |
|
---|
| 112 | <bridgehead renderas="sect4">PDL::NiceSlice</bridgehead>
|
---|
[0619e6d] | 113 |
|
---|
[dae2ba0b] | 114 | <para>The <application>PDL</application>::NiceSlice module is used to
|
---|
[b307885b] | 115 | enhance <application>PDL</application>'s slice syntax.
|
---|
| 116 | <quote>Slicing</quote> is a term used in the process of creating a
|
---|
| 117 | cross-section, or slice, of a <application>PDL</application> object
|
---|
| 118 | (piddle).</para>
|
---|
[7dac9f1] | 119 |
|
---|
| 120 | <itemizedlist spacing='compact'>
|
---|
| 121 | <listitem>
|
---|
[dae2ba0b] | 122 | <para><ulink
|
---|
[7dac9f1] | 123 | url="http://www.cpan.org/authors/id/P/PM/PMQS/Filter-&Filter-version;.tar.gz">
|
---|
| 124 | Filter-&Filter-version;</ulink></para>
|
---|
| 125 | </listitem>
|
---|
| 126 | </itemizedlist>
|
---|
| 127 |
|
---|
| 128 | <bridgehead renderas="sect4">Inline::Pdlpp</bridgehead>
|
---|
| 129 |
|
---|
[dae2ba0b] | 130 | <para>The Inline::Pdlpp module allows you to define fast PP
|
---|
[7dac9f1] | 131 | code inline in your scripts.</para>
|
---|
| 132 |
|
---|
| 133 | <itemizedlist spacing='compact'>
|
---|
| 134 | <listitem>
|
---|
[dae2ba0b] | 135 | <para><ulink
|
---|
[7dac9f1] | 136 | url="http://www.cpan.org/authors/id/I/IN/INGY/Inline-&Inline-version;.tar.gz">
|
---|
| 137 | Inline-&Inline-version;</ulink></para>
|
---|
| 138 | <itemizedlist>
|
---|
| 139 | <listitem>
|
---|
[dae2ba0b] | 140 | <para><ulink
|
---|
[7dac9f1] | 141 | url="http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-&Parse-RecDescent-version;.tar.gz">
|
---|
| 142 | Parse-RecDescent-&Parse-RecDescent-version;</ulink></para>
|
---|
| 143 | </listitem>
|
---|
| 144 | </itemizedlist>
|
---|
| 145 | </listitem>
|
---|
| 146 | </itemizedlist>
|
---|
| 147 |
|
---|
| 148 | <bridgehead renderas="sect4">Perldl</bridgehead>
|
---|
| 149 |
|
---|
[dae2ba0b] | 150 | <para><command>perldl</command> is a simple shell (written in
|
---|
| 151 | <application>Perl</application>) which allows interactive
|
---|
[7dac9f1] | 152 | use of <application>PDL</application>.</para>
|
---|
| 153 |
|
---|
| 154 | <itemizedlist spacing='compact'>
|
---|
| 155 | <listitem>
|
---|
[dae2ba0b] | 156 | <para><ulink
|
---|
[7dac9f1] | 157 | url="http://www.cpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-&Term-ReadLine-Gnu-version;.tar.gz">
|
---|
| 158 | Term-ReadLine-Gnu-&Term-ReadLine-Gnu-version;</ulink></para>
|
---|
| 159 | </listitem>
|
---|
| 160 | </itemizedlist>
|
---|
| 161 |
|
---|
| 162 | <bridgehead renderas="sect4">PDL::Graphics::TriD</bridgehead>
|
---|
| 163 |
|
---|
[dae2ba0b] | 164 | <para>The <application>PDL</application>::Graphics::TriD module implements
|
---|
| 165 | a generic 3D plotting interface for <application>PDL</application>. Points,
|
---|
[7dac9f1] | 166 | lines and surfaces (among other objects) are supported.</para>
|
---|
| 167 |
|
---|
| 168 | <itemizedlist spacing='compact'>
|
---|
| 169 | <listitem>
|
---|
[e77976f] | 170 | <para>OpenGL (<xref linkend="x-window-system"/>)</para>
|
---|
[7dac9f1] | 171 | </listitem>
|
---|
| 172 | </itemizedlist>
|
---|
| 173 |
|
---|
| 174 | <bridgehead renderas="sect4">PDL::Graphics::PGPLOT</bridgehead>
|
---|
| 175 |
|
---|
[dae2ba0b] | 176 | <para>The <application>PDL</application>::Graphics::PGPLOT module is a
|
---|
| 177 | convenience interface to the <application>PGPLOT</application> commands,
|
---|
[0619e6d] | 178 | implemented using the object oriented <application>PGPLOT</application>
|
---|
[b307885b] | 179 | plotting package in the PDL::Graphics::PGPLOT::Window module.</para>
|
---|
[7dac9f1] | 180 |
|
---|
| 181 | <itemizedlist spacing='compact'>
|
---|
| 182 | <listitem>
|
---|
[dae2ba0b] | 183 | <para><ulink
|
---|
[b307885b] | 184 | url="http://www.cpan.org/authors/id/K/KG/KGB/PGPLOT-&PGPLOT-perl-version;.tar.gz">
|
---|
| 185 | PGPLOT-&PGPLOT-perl-version;</ulink></para>
|
---|
[7dac9f1] | 186 | <itemizedlist>
|
---|
| 187 | <listitem>
|
---|
[dae2ba0b] | 188 | <para><ulink
|
---|
[7dac9f1] | 189 | url="http://www.cpan.org/authors/id/K/KG/KGB/ExtUtils-F77-&ExtUtils-F77-version;.tar.gz">
|
---|
| 190 | ExtUtils-F77-&ExtUtils-F77-version;</ulink></para>
|
---|
| 191 | <itemizedlist>
|
---|
| 192 | <listitem>
|
---|
[b307885b] | 193 | <para><ulink
|
---|
[4e88613] | 194 | url="&blfs-wiki;/gcc3">a Fortran
|
---|
[b307885b] | 195 | compiler</ulink></para>
|
---|
[7dac9f1] | 196 | </listitem>
|
---|
| 197 | </itemizedlist>
|
---|
| 198 | </listitem>
|
---|
| 199 | <listitem>
|
---|
[dae2ba0b] | 200 | <para><ulink
|
---|
[b307885b] | 201 | url="http://astro.caltech.edu/~tjp/pgplot/">PGPLOT</ulink></para>
|
---|
[7dac9f1] | 202 | <itemizedlist>
|
---|
| 203 | <listitem>
|
---|
[e77976f] | 204 | <para><xref linkend="x-window-system"/>,
|
---|
[2d1ea57b] | 205 | <!-- <xref linkend="lesstif"/>, -->
|
---|
| 206 | <ulink url="http://sourceforge.net/projects/lesstif/">LessTif</ulink>,
|
---|
[b307885b] | 207 | <xref linkend="tk"/>, and <ulink
|
---|
[4e88613] | 208 | url="&blfs-wiki;/gcc3">a Fortran
|
---|
[b307885b] | 209 | compiler</ulink></para>
|
---|
[7dac9f1] | 210 | </listitem>
|
---|
| 211 | </itemizedlist>
|
---|
| 212 | </listitem>
|
---|
| 213 | </itemizedlist>
|
---|
| 214 | </listitem>
|
---|
| 215 | </itemizedlist>
|
---|
| 216 |
|
---|
| 217 | <bridgehead renderas="sect4">PDL::Graphics::PLPLOT</bridgehead>
|
---|
| 218 |
|
---|
[dae2ba0b] | 219 | <para>The <application>PDL</application>::Graphics::PLPLOT module is a
|
---|
[7dac9f1] | 220 | simple interface to the <application>PLplot</application> plotting library.</para>
|
---|
| 221 |
|
---|
| 222 | <itemizedlist spacing='compact'>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para><ulink url="http://plplot.sourceforge.net/">PLplot</ulink></para>
|
---|
| 225 | <itemizedlist>
|
---|
| 226 | <listitem>
|
---|
[358241d1] | 227 | <para><!-- <xref linkend="pkgconfig"/>, -->
|
---|
[e77976f] | 228 | <xref linkend="x-window-system"/>,
|
---|
[dae2ba0b] | 229 | <xref linkend="freetype2"/>,
|
---|
| 230 | <ulink url="http://www.boutell.com/gd/">GD</ulink>,
|
---|
| 231 | <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
|
---|
[dcd55b37] | 232 | <!-- <xref linkend="gnome-libs"/>, -->
|
---|
[6e5fd759] | 233 | <ulink url="&gnome-download-http;/gnome-libs/1.4/">GNOME
|
---|
[dcd55b37] | 234 | Libraries-1.4</ulink>,
|
---|
[49b50d4] | 235 | <xref linkend="openjdk"/>, <!-- or <xref linkend="jdk"/>, -->
|
---|
[dae2ba0b] | 236 | <xref linkend="tk"/>,
|
---|
[4716d52] | 237 | <xref linkend="python2"/> (with
|
---|
[e77976f] | 238 | <ulink url="http://www.numpy.org/">Numeric Python</ulink>),
|
---|
[4e88613] | 239 | <ulink url="&blfs-wiki;/gcc3">a
|
---|
[b307885b] | 240 | Fortran compiler</ulink>,
|
---|
[e77976f] | 241 | <ulink url="http://www.swig.org/">SWIG</ulink>, and
|
---|
[7dac9f1] | 242 | <ulink url="http://sourceforge.net/projects/incrtcl/">iTcl</ulink></para>
|
---|
| 243 | </listitem>
|
---|
| 244 | </itemizedlist>
|
---|
| 245 | </listitem>
|
---|
| 246 | </itemizedlist>
|
---|
| 247 |
|
---|
| 248 | <bridgehead renderas="sect4">PDL::Graphics::IIS</bridgehead>
|
---|
| 249 |
|
---|
[dae2ba0b] | 250 | <para>The <application>PDL</application>::Graphics::IIS
|
---|
[0619e6d] | 251 | module provides an interface to any image display <quote>device</quote>
|
---|
[7dac9f1] | 252 | which supports the <quote>IIS protocol</quote>.</para>
|
---|
| 253 |
|
---|
| 254 | <itemizedlist spacing='compact'>
|
---|
| 255 | <listitem>
|
---|
[dae2ba0b] | 256 | <para><ulink
|
---|
[7dac9f1] | 257 | url="http://tdc-www.harvard.edu/software/saoimage.html">SAOimage</ulink></para>
|
---|
| 258 | <itemizedlist>
|
---|
| 259 | <listitem>
|
---|
[e77976f] | 260 | <para><xref linkend="x-window-system"/></para>
|
---|
[7dac9f1] | 261 | </listitem>
|
---|
| 262 | </itemizedlist>
|
---|
| 263 | </listitem>
|
---|
| 264 | <listitem>
|
---|
[dae2ba0b] | 265 | <para><ulink
|
---|
| 266 | url="http://iraf.noao.edu/iraf/web/projects/x11iraf/x11iraf.html">X11
|
---|
[7dac9f1] | 267 | IRAF</ulink></para>
|
---|
| 268 | <itemizedlist>
|
---|
| 269 | <listitem>
|
---|
[e77976f] | 270 | <para><xref linkend="x-window-system"/> and
|
---|
[7dac9f1] | 271 | <xref linkend="tk"/></para>
|
---|
| 272 | </listitem>
|
---|
| 273 | </itemizedlist>
|
---|
| 274 | </listitem>
|
---|
| 275 | </itemizedlist>
|
---|
| 276 |
|
---|
| 277 | <bridgehead renderas="sect4">PDL::Graphics::Karma</bridgehead>
|
---|
| 278 |
|
---|
[dae2ba0b] | 279 | <para>The <application>PDL</application>::Graphics::Karma
|
---|
| 280 | module is an interface to <application>Karma</application> visualisation
|
---|
[7dac9f1] | 281 | applications.</para>
|
---|
| 282 |
|
---|
| 283 | <itemizedlist spacing='compact'>
|
---|
| 284 | <listitem>
|
---|
[dae2ba0b] | 285 | <para><ulink
|
---|
[7dac9f1] | 286 | url="http://www.atnf.csiro.au/computing/software/karma/">Karma</ulink></para>
|
---|
| 287 | <itemizedlist>
|
---|
| 288 | <listitem>
|
---|
[e77976f] | 289 | <para><xref linkend="x-window-system"/></para>
|
---|
[7dac9f1] | 290 | </listitem>
|
---|
| 291 | </itemizedlist>
|
---|
| 292 | </listitem>
|
---|
| 293 | </itemizedlist>
|
---|
| 294 |
|
---|
[dae2ba0b] | 295 | <para><emphasis>Note:</emphasis> You may need to modify the
|
---|
| 296 | <option>WHERE_KARMA => undef</option> line in the source tree
|
---|
| 297 | <filename>perldl.conf</filename> file to point to your installation
|
---|
[7dac9f1] | 298 | of <application>Karma</application></para>
|
---|
| 299 |
|
---|
| 300 | <bridgehead renderas="sect4">PDL::IO::Pic</bridgehead>
|
---|
| 301 |
|
---|
[dae2ba0b] | 302 | <para> The <application>PDL</application>::IO::Pic module implements I/O
|
---|
| 303 | for a number of popular image formats by exploiting the
|
---|
[0619e6d] | 304 | <command>xxxtopnm</command> and <command>pnmtoxxx</command>
|
---|
[dae2ba0b] | 305 | converters from the <application>Netpbm</application> package and the
|
---|
| 306 | <command>cjpeg</command> and <command>djpeg</command> converters.
|
---|
| 307 | It also contains the routine wmpeg to write MPEG movies from piddles
|
---|
[7dac9f1] | 308 | representing image stacks.</para>
|
---|
| 309 |
|
---|
| 310 | <itemizedlist spacing='compact'>
|
---|
| 311 | <listitem>
|
---|
[dae2ba0b] | 312 | <para><ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
|
---|
| 313 | <xref linkend="libjpeg"/> and
|
---|
[7dac9f1] | 314 | <ulink url="ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/">
|
---|
| 315 | mpeg_encode</ulink></para>
|
---|
| 316 | </listitem>
|
---|
| 317 | </itemizedlist>
|
---|
| 318 |
|
---|
| 319 | <bridgehead renderas="sect4">PDL::Slatec</bridgehead>
|
---|
| 320 |
|
---|
[dae2ba0b] | 321 | <para> The <application>PDL</application>::Slatec module serves the dual
|
---|
| 322 | purpose of providing an interface to parts of the slatec library and showing
|
---|
| 323 | how to interface <application>PDL</application> to an external library.
|
---|
| 324 | The module provides routines to manipulate matrices, calculate FFTs, fit
|
---|
| 325 | data using polynomials, and interpolate/integrate data using piecewise
|
---|
[7dac9f1] | 326 | cubic Hermite interpolation.</para>
|
---|
| 327 |
|
---|
| 328 | <itemizedlist spacing='compact'>
|
---|
| 329 | <listitem>
|
---|
[dae2ba0b] | 330 | <para><ulink
|
---|
[7dac9f1] | 331 | url="http://www.cpan.org/authors/id/K/KG/KGB/ExtUtils-F77-&ExtUtils-F77-version;.tar.gz">
|
---|
| 332 | ExtUtils-F77-&ExtUtils-F77-version;</ulink></para>
|
---|
| 333 | <itemizedlist>
|
---|
| 334 | <listitem>
|
---|
[b307885b] | 335 | <para><ulink
|
---|
[4e88613] | 336 | url="&blfs-wiki;/gcc3">a Fortran
|
---|
[b307885b] | 337 | compiler</ulink></para>
|
---|
[7dac9f1] | 338 | </listitem>
|
---|
| 339 | </itemizedlist>
|
---|
| 340 | </listitem>
|
---|
| 341 | </itemizedlist>
|
---|
| 342 |
|
---|
| 343 | <bridgehead renderas="sect4">PDL::GSL</bridgehead>
|
---|
| 344 |
|
---|
[0619e6d] | 345 | <para> The <application>PDL</application>::<application>GSL</application>
|
---|
[7dac9f1] | 346 | module is an interface to the functions provided by the Gnu Scientific Library.</para>
|
---|
| 347 |
|
---|
| 348 | <itemizedlist spacing='compact'>
|
---|
| 349 | <listitem>
|
---|
[37bea21] | 350 | <para><xref linkend="gsl"/></para>
|
---|
[7dac9f1] | 351 | </listitem>
|
---|
| 352 | </itemizedlist>
|
---|
| 353 |
|
---|
| 354 | <bridgehead renderas="sect4">PDL::FFTW</bridgehead>
|
---|
| 355 |
|
---|
[0619e6d] | 356 | <para> The <application>PDL</application>::<application>FFTW</application>
|
---|
[dae2ba0b] | 357 | module is a means to interface <application>PDL</application> with the
|
---|
| 358 | <application>FFTW</application> library. It's similar to the standard FFT
|
---|
| 359 | routine but it's usually faster and has support for real transforms. It works
|
---|
| 360 | well for the types of piddles for which the library was compiled (otherwise it
|
---|
[7dac9f1] | 361 | must do conversions).</para>
|
---|
| 362 |
|
---|
| 363 | <itemizedlist spacing='compact'>
|
---|
| 364 | <listitem>
|
---|
| 365 | <para><ulink url="http://www.fftw.org/">FFTW-2.x</ulink></para>
|
---|
| 366 | </listitem>
|
---|
| 367 | </itemizedlist>
|
---|
| 368 |
|
---|
| 369 | <bridgehead renderas="sect4">PDL::IO::Browser</bridgehead>
|
---|
| 370 |
|
---|
[dae2ba0b] | 371 | <para>The <application>PDL</application>::IO::Browser module
|
---|
[7dac9f1] | 372 | is a 2D cursor terminal data browser for piddles.</para>
|
---|
| 373 |
|
---|
[dae2ba0b] | 374 | <para>There is no additional software required to use the module. However,
|
---|
| 375 | the default is to not install the module because some platforms don't provide
|
---|
| 376 | a curses compatible library. To enable the module, issue the following
|
---|
[7dac9f1] | 377 | command:</para>
|
---|
| 378 |
|
---|
| 379 | <screen><userinput>sed -i -e "s/WITH_IO_BROWSER => 0/WITH_IO_BROWSER => 1/" \
|
---|
| 380 | perldl.conf</userinput></screen>
|
---|
| 381 |
|
---|
| 382 | <bridgehead renderas="sect4">PDL::IO::NDF</bridgehead>
|
---|
| 383 |
|
---|
[dae2ba0b] | 384 | <para>The <application>PDL</application>::IO::NDF module adds the ability to
|
---|
[7dac9f1] | 385 | read and write Starlink N-dimensional data files as N-dimensional piddles.</para>
|
---|
| 386 |
|
---|
| 387 | <itemizedlist spacing='compact'>
|
---|
| 388 | <listitem>
|
---|
[dae2ba0b] | 389 | <para><ulink
|
---|
[7dac9f1] | 390 | url="http://www.cpan.org/authors/id/A/AA/AALLAN/Astro-FITS-Header-&Astro-FITS-Header-version;.tar.gz">
|
---|
| 391 | Astro-FITS-Header-&Astro-FITS-Header-version;</ulink></para>
|
---|
| 392 | <itemizedlist>
|
---|
| 393 | <listitem>
|
---|
[dae2ba0b] | 394 | <para><ulink
|
---|
[7dac9f1] | 395 | url="http://www.cpan.org/authors/id/P/PR/PRATZLAFF/Astro-FITS-CFITSIO-&Astro-FITS-CFITSIO-version;.tar.gz">
|
---|
| 396 | Astro-FITS-CFITSIO-&Astro-FITS-CFITSIO-version;</ulink></para>
|
---|
| 397 | <itemizedlist>
|
---|
| 398 | <listitem>
|
---|
[dae2ba0b] | 399 | <para><ulink
|
---|
[7dac9f1] | 400 | url="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/">CFITSIO</ulink></para>
|
---|
| 401 | </listitem>
|
---|
| 402 | </itemizedlist>
|
---|
| 403 | </listitem>
|
---|
| 404 | <listitem>
|
---|
[dae2ba0b] | 405 | <para><ulink
|
---|
[9d332fc9] | 406 | url="&files-anduin;/sources/NDF-&NDF-version;.tar.gz">
|
---|
[b307885b] | 407 | NDF-&NDF-version;</ulink></para>
|
---|
[7dac9f1] | 408 | <itemizedlist>
|
---|
| 409 | <listitem>
|
---|
[dae2ba0b] | 410 | <para><ulink
|
---|
[9d332fc9] | 411 | url="&files-anduin;/sources/Starlink-Config-&Starlink-Config-version;.tar.gz">
|
---|
[7dac9f1] | 412 | Starlink-Config-&Starlink-Config-version;</ulink></para>
|
---|
| 413 | <itemizedlist>
|
---|
| 414 | <listitem>
|
---|
[2d8d020] | 415 | <para><ulink
|
---|
[9d332fc9] | 416 | url="&files-anduin;/sources/Starlink_IMG.tar.gz">
|
---|
[2d8d020] | 417 | Starlink IMG</ulink></para>
|
---|
[7dac9f1] | 418 | <itemizedlist>
|
---|
| 419 | <listitem>
|
---|
[2d8d020] | 420 | <para><ulink
|
---|
[9d332fc9] | 421 | url="&files-anduin;/sources/Starlink_NDF.tar.gz">
|
---|
[2d8d020] | 422 | Starlink NDF</ulink> (requires the following Starlink
|
---|
| 423 | modules installed in this order, some will already be
|
---|
| 424 | installed if you installed Starlink GSD):
|
---|
[9d332fc9] | 425 | <ulink url="&files-anduin;/sources/Starlink_HTX.tar.gz">
|
---|
[2d8d020] | 426 | HTX</ulink>,
|
---|
[9d332fc9] | 427 | <ulink url="&files-anduin;/sources/Starlink_SAE.tar.gz">
|
---|
[2d8d020] | 428 | SAE</ulink>,
|
---|
[9d332fc9] | 429 | <ulink url="&files-anduin;/sources/Starlink_HLP.tar.gz">
|
---|
[2d8d020] | 430 | HLP</ulink>,
|
---|
[9d332fc9] | 431 | <ulink url="&files-anduin;/sources/Starlink_CNF.tar.gz">
|
---|
[2d8d020] | 432 | CNF</ulink>,
|
---|
[9d332fc9] | 433 | <ulink url="&files-anduin;/sources/Starlink_SLA.tar.gz">
|
---|
[2d8d020] | 434 | SLA</ulink>,
|
---|
[9d332fc9] | 435 | <ulink url="&files-anduin;/sources/Starlink_CHR.tar.gz">
|
---|
[2d8d020] | 436 | CHR</ulink>,
|
---|
[9d332fc9] | 437 | <ulink url="&files-anduin;/sources/Starlink_EMS.tar.gz">
|
---|
[2d8d020] | 438 | EMS</ulink>,
|
---|
[9d332fc9] | 439 | <ulink url="&files-anduin;/sources/Starlink_PSX.tar.gz">
|
---|
[2d8d020] | 440 | PSX</ulink>,
|
---|
[9d332fc9] | 441 | <ulink url="&files-anduin;/sources/Starlink_HDS.tar.gz">
|
---|
[2d8d020] | 442 | HDS</ulink>,
|
---|
[9d332fc9] | 443 | <ulink url="&files-anduin;/sources/Starlink_PCS.tar.gz">
|
---|
[2d8d020] | 444 | PCS</ulink>,
|
---|
[9d332fc9] | 445 | <ulink url="&files-anduin;/sources/Starlink_MER.tar.gz">
|
---|
[2d8d020] | 446 | MER</ulink>,
|
---|
[9d332fc9] | 447 | <ulink url="&files-anduin;/sources/Starlink_PRM.tar.gz">
|
---|
[2d8d020] | 448 | PRM</ulink>,
|
---|
[9d332fc9] | 449 | <ulink url="&files-anduin;/sources/Starlink_PAR.tar.gz">
|
---|
[2d8d020] | 450 | PAR</ulink>,
|
---|
[9d332fc9] | 451 | <ulink url="&files-anduin;/sources/Starlink_ARY.tar.gz">
|
---|
[2d8d020] | 452 | ARY</ulink>,
|
---|
[9d332fc9] | 453 | <ulink url="&files-anduin;/sources/Starlink_AST.tar.gz">
|
---|
[2d8d020] | 454 | AST</ulink>)</para>
|
---|
[7dac9f1] | 455 | <itemizedlist>
|
---|
| 456 | <listitem>
|
---|
[b307885b] | 457 | <para><ulink
|
---|
[4e88613] | 458 | url="&blfs-wiki;/gcc3">a
|
---|
[b307885b] | 459 | Fortran compiler</ulink></para>
|
---|
[7dac9f1] | 460 | </listitem>
|
---|
| 461 | </itemizedlist>
|
---|
| 462 | </listitem>
|
---|
| 463 | </itemizedlist>
|
---|
| 464 | </listitem>
|
---|
| 465 | </itemizedlist>
|
---|
| 466 | </listitem>
|
---|
| 467 | </itemizedlist>
|
---|
| 468 | </listitem>
|
---|
| 469 | <listitem>
|
---|
[dae2ba0b] | 470 | <para><ulink
|
---|
[9d332fc9] | 471 | url="&files-anduin;/sources/GSD-&GSD-version;.tar.gz">
|
---|
[b307885b] | 472 | GSD-&GSD-version;</ulink></para>
|
---|
[7dac9f1] | 473 | <itemizedlist>
|
---|
| 474 | <listitem>
|
---|
[dae2ba0b] | 475 | <para><ulink
|
---|
[9d332fc9] | 476 | url="&files-anduin;/sources/Starlink-Config-&Starlink-Config-version;.tar.gz">
|
---|
[7dac9f1] | 477 | Starlink-Config-&Starlink-Config-version;</ulink></para>
|
---|
| 478 | <itemizedlist>
|
---|
| 479 | <listitem>
|
---|
[dae2ba0b] | 480 | <para><ulink
|
---|
[9d332fc9] | 481 | url="&files-anduin;/sources/Starlink_GSD.tar.gz">
|
---|
[2d8d020] | 482 | Starlink GSD</ulink> (requires the following Starlink
|
---|
| 483 | modules installed in this order:
|
---|
[9d332fc9] | 484 | <ulink url="&files-anduin;/sources/Starlink_HTX.tar.gz">
|
---|
[2d8d020] | 485 | HTX</ulink>,
|
---|
[9d332fc9] | 486 | <ulink url="&files-anduin;/sources/Starlink_SAE.tar.gz">
|
---|
[2d8d020] | 487 | SAE</ulink>,
|
---|
[9d332fc9] | 488 | <ulink url="&files-anduin;/sources/Starlink_CNF.tar.gz">
|
---|
[2d8d020] | 489 | CNF</ulink>,
|
---|
[9d332fc9] | 490 | <ulink url="&files-anduin;/sources/Starlink_CHR.tar.gz">
|
---|
[2d8d020] | 491 | CHR</ulink>,
|
---|
[9d332fc9] | 492 | <ulink url="&files-anduin;/sources/Starlink_EMS.tar.gz">
|
---|
[2d8d020] | 493 | EMS</ulink>,
|
---|
[9d332fc9] | 494 | <ulink url="&files-anduin;/sources/Starlink_PRM.tar.gz">
|
---|
[2d8d020] | 495 | PRM</ulink>)</para>
|
---|
[7dac9f1] | 496 | <itemizedlist>
|
---|
| 497 | <listitem>
|
---|
[b307885b] | 498 | <para><ulink
|
---|
[4e88613] | 499 | url="&blfs-wiki;/gcc3">a
|
---|
[b307885b] | 500 | Fortran compiler</ulink></para>
|
---|
[7dac9f1] | 501 | </listitem>
|
---|
| 502 | </itemizedlist>
|
---|
| 503 | </listitem>
|
---|
| 504 | </itemizedlist>
|
---|
| 505 | </listitem>
|
---|
| 506 | </itemizedlist>
|
---|
| 507 | </listitem>
|
---|
| 508 | </itemizedlist>
|
---|
| 509 | </listitem>
|
---|
| 510 | </itemizedlist>
|
---|
| 511 |
|
---|
[1039de3] | 512 | <para condition="html" role="usernotes">User Notes:
|
---|
| 513 | <ulink url="&blfs-wiki;/pdl"/></para>
|
---|
| 514 |
|
---|
[7dac9f1] | 515 | </sect2>
|
---|
| 516 |
|
---|
| 517 | <sect2 role="installation">
|
---|
| 518 | <title>Installation of PDL</title>
|
---|
| 519 |
|
---|
[dae2ba0b] | 520 | <para>Install <application>PDL</application> (and all the dependency
|
---|
[7dac9f1] | 521 | <application>Perl</application> modules) by running the following commands:</para>
|
---|
| 522 |
|
---|
[7768cf26] | 523 | <screen><userinput>sed -i 's/\(dirname);\)/\1\nuse blib;/' Demos/BAD*demo.pm.PL &&
|
---|
| 524 | perl Makefile.PL &&
|
---|
[bd23186f] | 525 | make &&
|
---|
[7dac9f1] | 526 | make test</userinput></screen>
|
---|
| 527 |
|
---|
| 528 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 529 |
|
---|
| 530 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 531 |
|
---|
| 532 | </sect2>
|
---|
| 533 |
|
---|
[7768cf26] | 534 | <sect2 role="commands">
|
---|
| 535 | <title>Command Explanations</title>
|
---|
| 536 |
|
---|
| 537 | <para><command>sed -i '...' Demos/BAD*demo.pm.PL</command>: This is
|
---|
| 538 | necessary to fix a build issue caused by changes in
|
---|
| 539 | ExtUtils::MakeMaker-6.30 which was introduction in
|
---|
| 540 | <application>Perl</application>-5.8.8.</para>
|
---|
| 541 |
|
---|
| 542 | </sect2>
|
---|
| 543 |
|
---|
[7dac9f1] | 544 | <sect2 role="configuration">
|
---|
| 545 | <title>Configuring PDL</title>
|
---|
| 546 |
|
---|
| 547 | <sect3 id="pdl-config">
|
---|
| 548 | <title>Config Files</title>
|
---|
| 549 |
|
---|
[dae2ba0b] | 550 | <para><filename>~/.perldlrc</filename> and
|
---|
[7dac9f1] | 551 | <filename>local.perldlrc</filename> in the current directory</para>
|
---|
| 552 |
|
---|
| 553 | <indexterm zone="pdl pdl-config">
|
---|
| 554 | <primary sortas="e-AA.perldlrc">~/.perldlrc</primary>
|
---|
| 555 | </indexterm>
|
---|
| 556 |
|
---|
| 557 | <indexterm zone="pdl pdl-config">
|
---|
| 558 | <primary sortas="e-local.perldlrc">local.perldlrc</primary>
|
---|
| 559 | </indexterm>
|
---|
| 560 |
|
---|
| 561 | </sect3>
|
---|
| 562 |
|
---|
| 563 | <sect3>
|
---|
| 564 | <title>Configuration Information</title>
|
---|
| 565 |
|
---|
[dae2ba0b] | 566 | <para>See <ulink
|
---|
[0619e6d] | 567 | url="http://pdl.sourceforge.net/PDLdocs/perldl.html#the startup file ~/.perldlrc"/>
|
---|
[dae2ba0b] | 568 | for information about configuring <command>perldl</command> to suit your
|
---|
[7dac9f1] | 569 | needs.</para>
|
---|
| 570 |
|
---|
| 571 | </sect3>
|
---|
| 572 |
|
---|
| 573 | </sect2>
|
---|
| 574 |
|
---|
| 575 | <sect2 role="content">
|
---|
| 576 | <title>Contents</title>
|
---|
| 577 |
|
---|
| 578 | <segmentedlist>
|
---|
| 579 | <segtitle>Installed Programs</segtitle>
|
---|
| 580 | <segtitle>Installed Modules</segtitle>
|
---|
| 581 | <segtitle>Installed Directories</segtitle>
|
---|
| 582 |
|
---|
| 583 | <seglistitem>
|
---|
| 584 | <seg>pdl, pdldoc, perldl, and pptemplate</seg>
|
---|
| 585 | <seg>90+ individual <application>Perl</application> modules</seg>
|
---|
[55fb7f56] | 586 | <seg>/usr/lib/perl5/site_perl/&lfs-perl-version;/i686-linux/{,auto/}PDL</seg>
|
---|
[7dac9f1] | 587 | </seglistitem>
|
---|
| 588 | </segmentedlist>
|
---|
| 589 |
|
---|
| 590 | <variablelist>
|
---|
| 591 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 592 | <?dbfo list-presentation="list"?>
|
---|
| 593 | <?dbhtml list-presentation="table"?>
|
---|
| 594 |
|
---|
| 595 | <varlistentry id="pdl-prog">
|
---|
| 596 | <term><command>pdl</command></term>
|
---|
| 597 | <listitem>
|
---|
[dae2ba0b] | 598 | <para>is a binary program called from
|
---|
[7dac9f1] | 599 | <application>PDL</application> scripts which is used to
|
---|
| 600 | interface <command>perldl</command>.</para>
|
---|
| 601 | <indexterm zone="pdl pdl-prog">
|
---|
| 602 | <primary sortas="b-pdl">pdl</primary>
|
---|
| 603 | </indexterm>
|
---|
| 604 | </listitem>
|
---|
| 605 | </varlistentry>
|
---|
| 606 |
|
---|
| 607 | <varlistentry id="pdldoc">
|
---|
| 608 | <term><command>pdldoc</command></term>
|
---|
| 609 | <listitem>
|
---|
| 610 | <para>is a shell interface to
|
---|
| 611 | <application>PDL</application> documentation.</para>
|
---|
| 612 | <indexterm zone="pdl pdldoc">
|
---|
| 613 | <primary sortas="b-pdldoc">pdldoc</primary>
|
---|
| 614 | </indexterm>
|
---|
| 615 | </listitem>
|
---|
| 616 | </varlistentry>
|
---|
| 617 |
|
---|
| 618 | <varlistentry id="perldl">
|
---|
| 619 | <term><command>perldl</command></term>
|
---|
| 620 | <listitem>
|
---|
[dae2ba0b] | 621 | <para>is a simple shell (written in <application>Perl</application>)
|
---|
[7dac9f1] | 622 | for interactive use of <application>PDL</application>.</para>
|
---|
| 623 | <indexterm zone="pdl perldl">
|
---|
| 624 | <primary sortas="b-perldl">perldl</primary>
|
---|
| 625 | </indexterm>
|
---|
| 626 | </listitem>
|
---|
| 627 | </varlistentry>
|
---|
| 628 |
|
---|
| 629 | <varlistentry id="pptemplate">
|
---|
| 630 | <term><command>pptemplate</command></term>
|
---|
| 631 | <listitem>
|
---|
[0619e6d] | 632 | <para>is a script to generate <filename>Makefile.PL</filename>
|
---|
[7dac9f1] | 633 | and PP file skeletons.</para>
|
---|
| 634 | <indexterm zone="pdl pptemplate">
|
---|
| 635 | <primary sortas="b-pptemplate">pptemplate</primary>
|
---|
| 636 | </indexterm>
|
---|
| 637 | </listitem>
|
---|
| 638 | </varlistentry>
|
---|
| 639 |
|
---|
| 640 | </variablelist>
|
---|
| 641 |
|
---|
| 642 | </sect2>
|
---|
[bd23186f] | 643 |
|
---|
| 644 | </sect1>
|
---|