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