source: general/prog/pdl.xml@ 775c349a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 775c349a was 775c349a, checked in by Igor Živković <igor@…>, 19 years ago

Updated to Python-2.4.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3205 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 17.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY pdl-download-http "http://prdownloads.sourceforge.net/pdl/PDL-&pdl-version;.tar.gz?download">
8<!ENTITY pdl-download-ftp " ">
9<!ENTITY pdl-md5sum "N/A">
10<!ENTITY pdl-size "2.1 MB">
11<!ENTITY pdl-buildsize "74 MB">
12<!ENTITY pdl-time "2.56 SBU">
13]>
14
15<sect1 id="pdl" xreflabel="PDL">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="pdl.html" ?>
21<title><application><acronym>PDL</acronym></application>-&pdl-version;</title>
22
23<sect2>
24<title>Introduction to
25<application><acronym>PDL</acronym></application></title>
26
27<para><application><acronym>PDL</acronym></application> (Perl Data Language)
28gives standard <application><acronym>Perl</acronym></application> the ability
29to compactly store and quickly manipulate the large N-dimensional data arrays
30common to scientific computing.
31<application><acronym>PDL</acronym></application> turns
32<application><acronym>Perl</acronym></application> into an array-oriented,
33numerical language similar to such commerical packages as
34<application>IDL</application> and <application>MatLab</application>. One can
35write simple <application><acronym>Perl</acronym></application> expressions to
36manipulate entire numerical arrays all at once.</para>
37
38<para><application><acronym>PDL</acronym></application> provides extensive
39numerical and semi-numerical functionality with support for two- and
40three-dimensional visualisation as well as a variety of I/O formats. The goal
41is to allow <application><acronym>PDL</acronym></application> to interact with
42a variety of external numerical packages, graphics and visualisation systems.
43Easy interfacing to such systems is one of the core design features of
44<application><acronym>PDL</acronym></application>.</para>
45
46<sect3><title>Package information</title>
47<itemizedlist spacing='compact'>
48<listitem><para>Download (HTTP):
49<ulink url="&pdl-download-http;"/></para></listitem>
50<listitem><para>Download (FTP):
51<ulink url="&pdl-download-ftp;"/></para></listitem>
52<listitem><para>Download MD5 sum: &pdl-md5sum;</para></listitem>
53<listitem><para>Download size: &pdl-size;</para></listitem>
54<listitem><para>Estimated disk space required:
55&pdl-buildsize;</para></listitem>
56<listitem><para>Estimated build time:
57&pdl-time;</para></listitem></itemizedlist>
58</sect3>
59
60<sect3>
61<title><application><acronym>PDL</acronym></application> dependencies</title>
62
63<para><application><acronym>PDL</acronym></application> is a collection of
64over 90 <application><acronym>Perl</acronym></application> modules. Some of
65these modules require additional libraries and/or
66<application><acronym>Perl</acronym></application> modules for full
67functionality. Listed below are the modules which require additional software
68or configuration. If you don't need a particular module's functionality, you
69don't need to install its dependencies. The dependency tree for each module
70is listed downward, meaning you'll need to start at the bottom of a module's
71tree and work up. The dependencies are listed in the same order as they are
72in the <filename>DEPENDENCIES</filename> file, found in the package source
73tree.</para>
74
75<sect4>
76<title><application><acronym>PDL</acronym></application>::NiceSlice</title>
77<para>The <application><acronym>PDL</acronym></application>::NiceSlice
78module is used to enhance <application><acronym>PDL</acronym></application>'s
79slice syntax. <quote>Slicing</quote> is a term used in the process of creating
80a cross-section, or slice, of a
81<application><acronym>PDL</acronym></application> object (piddle).</para>
82
83<itemizedlist spacing='compact'><listitem><para><ulink
84url="http://www.cpan.org/authors/id/P/PM/PMQS/Filter-&Filter-version;.tar.gz">
85Filter-&Filter-version;</ulink></para>
86</listitem></itemizedlist>
87</sect4>
88
89<sect4>
90<title>Inline::Pdlpp</title>
91<para>The Inline::Pdlpp module allows you to define fast <acronym>PP</acronym>
92code inline in your scripts.</para>
93
94<itemizedlist spacing='compact'><listitem><para><ulink
95url="http://www.cpan.org/authors/id/I/IN/INGY/Inline-&Inline-version;.tar.gz">
96Inline-&Inline-version;</ulink></para>
97
98<itemizedlist spacing='compact'><listitem><para><ulink
99url="http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-&Parse-RecDescent-version;.tar.gz">
100Parse-RecDescent-&Parse-RecDescent-version;</ulink></para>
101</listitem></itemizedlist>
102</listitem></itemizedlist>
103</sect4>
104
105<sect4><title>perldl</title>
106<para><command>perldl</command> is a simple shell (written in
107<application><acronym>Perl</acronym></application>) which allows interactive
108use of <application><acronym>PDL</acronym></application>.</para>
109
110<itemizedlist spacing='compact'><listitem><para><ulink
111url="http://www.cpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-&Term-ReadLine-Gnu-version;.tar.gz">
112Term-ReadLine-Gnu-&Term-ReadLine-Gnu-version;</ulink></para>
113</listitem></itemizedlist>
114</sect4>
115
116<sect4>
117<title><application><acronym>PDL</acronym></application>::Graphics::TriD</title>
118<para>The <application><acronym>PDL</acronym></application>::Graphics::TriD
119module implements a generic <acronym>3D</acronym> plotting interface for
120<application><acronym>PDL</acronym></application>. Points, lines and surfaces
121(among other objects) are supported.</para>
122
123<itemizedlist spacing='compact'><listitem>
124<para>Open<acronym>GL</acronym> (<xref linkend="xfree86"/> or
125<xref linkend="xorg"/>)</para>
126</listitem></itemizedlist>
127</sect4>
128
129<sect4>
130<title>
131<application><acronym>PDL</acronym></application>::Graphics::PGPLOT</title>
132<para>The <application><acronym>PDL</acronym></application>::Graphics::PGPLOT
133module is a convenience interface to the <application>PGPLOT</application>
134commands, implemented using the object oriented
135<application>PGPLOT</application> plotting package in the
136<application><acronym>PDL</acronym></application>::Graphics::PGPLOT::Window
137module.</para>
138
139<itemizedlist spacing='compact'><listitem><para><ulink
140url="http://www.cpan.org/authors/id/K/KG/KGB/PGPLOT-&pgperl-version;.tar.gz">
141pgperl</ulink></para>
142
143<itemizedlist spacing='compact'><listitem><para><ulink
144url="http://www.cpan.org/authors/id/K/KG/KGB/ExtUtils-F77-&ExtUtils-F77-version;.tar.gz">
145ExtUtils-F77-&ExtUtils-F77-version;</ulink></para>
146
147<itemizedlist spacing='compact'><listitem>
148<para><xref linkend="gcc"/> (Fortran compiler)</para>
149</listitem></itemizedlist>
150</listitem>
151
152<listitem><para><ulink
153url="http://www.astro.caltech.edu/~tjp/pgplot/">PGPLOT</ulink></para>
154
155<itemizedlist spacing='compact'><listitem>
156<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
157<xref linkend="lesstif"/>,
158<xref linkend="tk"/> and
159<xref linkend="gcc"/> (Fortran compiler)</para>
160</listitem></itemizedlist>
161</listitem></itemizedlist>
162</listitem></itemizedlist>
163</sect4>
164
165<sect4>
166<title>
167<application><acronym>PDL</acronym></application>::Graphics::PLPLOT</title>
168<para>The <application><acronym>PDL</acronym></application>::Graphics::PLPLOT
169module is a simple interface to the <application>PLplot</application> plotting
170library.</para>
171
172<itemizedlist spacing='compact'><listitem>
173<para><ulink url="http://plplot.sourceforge.net/">PLplot</ulink></para>
174
175<itemizedlist spacing='compact'><listitem>
176<para><xref linkend="pkgconfig"/>,
177X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
178<xref linkend="GTK"/>,
179<xref linkend="freetype2"/>,
180<ulink url="http://www.boutell.com/gd/">GD</ulink>,
181<ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
182<xref linkend="gnome-libs"/>,
183<xref linkend="j2sdk"/>,
184<xref linkend="tk"/>,
185<xref linkend="python"/> (with the
186<ulink url="http://www.pfdubois.com/numpy/">Numerical Extension</ulink>),
187<xref linkend="gcc"/> (Fortran compiler),
188<ulink url="http://www.swig.org/">SWIG</ulink>,
189<ulink url="http://sourceforge.net/projects/incrtcl/">iTcl</ulink></para>
190</listitem></itemizedlist>
191</listitem></itemizedlist>
192</sect4>
193
194<sect4>
195<title><application><acronym>PDL</acronym></application>::Graphics::IIS</title>
196<para>The <application><acronym>PDL</acronym></application>::Graphics::IIS
197module provides an interface to any image display <quote>device</quote> which
198supports the <quote>IIS protocol</quote>.</para>
199
200<itemizedlist spacing='compact'><listitem><para><ulink
201url="http://tdc-www.harvard.edu/software/saoimage.html">SAOimage</ulink></para>
202
203<itemizedlist spacing='compact'><listitem>
204<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
205</listitem></itemizedlist>
206</listitem>
207
208<listitem><para><ulink
209url="http://iraf.noao.edu/iraf/web/projects/x11iraf/x11iraf.html">
210X11 IRAF</ulink></para>
211
212<itemizedlist spacing='compact'><listitem>
213<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>) and
214<xref linkend="tk"/></para>
215</listitem></itemizedlist>
216</listitem></itemizedlist>
217</sect4>
218
219<sect4>
220<title>
221<application><acronym>PDL</acronym></application>::Graphics::Karma</title>
222<para>The <application><acronym>PDL</acronym></application>::Graphics::Karma
223module is an interface to <application>Karma</application> visualisation
224applications.</para>
225
226<itemizedlist spacing='compact'><listitem><para><ulink
227url="http://www.atnf.csiro.au/computing/software/karma/">Karma</ulink></para>
228
229<itemizedlist spacing='compact'><listitem>
230<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
231</listitem></itemizedlist>
232</listitem></itemizedlist>
233
234<para><emphasis>Note:</emphasis> You may need to modify the
235<parameter>WHERE_KARMA => undef</parameter> line in the source tree
236<filename>perldl.conf</filename> file to point to your installation
237of <application>Karma</application></para>
238</sect4>
239
240<sect4>
241<title>
242<application><acronym>PDL</acronym></application>::<acronym>IO</acronym>::Pic
243</title>
244<para> The
245<application><acronym>PDL</acronym></application>::<acronym>IO</acronym>::Pic
246module implements I/O for a number of popular image formats by exploiting the
247<command>xxxtopnm</command> and <command>pnmtoxxx</command> converters from
248the <application>Netpbm</application> package and the <command>cjpeg</command>
249and <command>djpeg</command> converters. It also contains the routine wmpeg
250to write <acronym>MPEG</acronym> movies from piddles representing image
251stacks.</para>
252
253<itemizedlist spacing='compact'><listitem>
254<para><ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
255<xref linkend="libjpeg"/> and
256<ulink url="ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/">
257mpeg_encode</ulink></para>
258</listitem></itemizedlist>
259</sect4>
260
261<sect4>
262<title><application><acronym>PDL</acronym></application>::Slatec</title>
263<para> The <application><acronym>PDL</acronym></application>::Slatec module
264serves the dual purpose of providing an interface to parts of the slatec
265library and showing how to interface
266<application><acronym>PDL</acronym></application> to an external library.
267The module provides routines to manipulate matrices, calculate
268<acronym>FFT</acronym>s, fit data using polynomials, and interpolate/integrate
269data using piecewise cubic Hermite interpolation.</para>
270
271<itemizedlist spacing='compact'><listitem><para><ulink
272url="http://www.cpan.org/authors/id/K/KG/KGB/ExtUtils-F77-&ExtUtils-F77-version;.tar.gz">
273ExtUtils-F77-&ExtUtils-F77-version;</ulink></para>
274
275<itemizedlist spacing='compact'><listitem>
276<para><xref linkend="gcc"/> (Fortran compiler)</para>
277</listitem></itemizedlist>
278</listitem></itemizedlist>
279</sect4>
280
281<sect4>
282<title>
283<application><acronym>PDL</acronym></application>::<application><acronym>GSL</acronym></application>
284</title>
285<para> The
286<application><acronym>PDL</acronym></application>::<application><acronym>GSL</acronym></application>
287module is an interface to the functions provided by the <acronym>Gnu</acronym>
288Scientific Library.</para>
289
290<itemizedlist><listitem>
291<para><ulink url="http://www.gnu.org/software/gsl/">GSL</ulink></para>
292</listitem></itemizedlist>
293</sect4>
294
295<sect4>
296<title>
297<application><acronym>PDL</acronym></application>::<application><acronym>FFTW</acronym></application>
298</title>
299<para> The
300<application><acronym>PDL</acronym></application>::<application><acronym>FFTW</acronym></application>
301module is a means to interface
302<application><acronym>PDL</acronym></application> with the
303<application><acronym>FFTW</acronym></application> library. It's similar to
304the standard <acronym>FFT</acronym> routine but it's usually faster and has
305support for real transforms. It works well for the types of piddles for which
306the library was compiled (otherwise it must do conversions).</para>
307
308<itemizedlist><listitem>
309<para><ulink url="http://www.fftw.org/">FFTW-2.x</ulink></para>
310</listitem></itemizedlist>
311</sect4>
312
313<sect4>
314<title>
315<application><acronym>PDL</acronym></application>::<acronym>IO</acronym>::Browser
316</title>
317<para> The
318<application><acronym>PDL</acronym></application>::<acronym>IO</acronym>::Browser
319module is a <acronym>2D</acronym> cursor terminal data browser for
320piddles.</para>
321
322<para>There is no additional software required to use the module. However,
323the default is to not install the module because some platforms don't provide
324a curses compatible library. To enable the module, issue the following
325command:</para>
326
327<screen><userinput><command>sed -i -e "s/WITH_IO_BROWSER => 0/WITH_IO_BROWSER => 1/" \
328 perldl.conf</command></userinput></screen>
329</sect4>
330
331<sect4>
332<title>
333<application><acronym>PDL</acronym></application>::<acronym>IO</acronym>::<acronym>NDF</acronym>
334</title>
335<para>The
336<application><acronym>PDL</acronym></application>::<acronym>IO</acronym>::<acronym>NDF</acronym>
337module adds the ability to read and write Starlink N-dimensional data files
338as N-dimensional piddles.</para>
339
340<itemizedlist><listitem><para><ulink
341url="http://www.cpan.org/authors/id/A/AA/AALLAN/Astro-FITS-Header-&Astro-FITS-Header-version;.tar.gz">
342Astro-FITS-Header-&Astro-FITS-Header-version;</ulink></para>
343
344<itemizedlist spacing='compact'><listitem><para><ulink
345url="http://www.cpan.org/authors/id/P/PR/PRATZLAFF/Astro-FITS-CFITSIO-&Astro-FITS-CFITSIO-version;.tar.gz">
346Astro-FITS-CFITSIO-&Astro-FITS-CFITSIO-version;</ulink></para>
347
348<itemizedlist spacing='compact'><listitem><para><ulink
349url="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/">CFITSIO</ulink></para>
350</listitem></itemizedlist>
351</listitem>
352
353<listitem><para><ulink
354url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
355NDFPERL-&NDF-version;</ulink></para>
356
357<itemizedlist spacing='compact'><listitem><para><ulink
358url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
359Starlink-Config-&Starlink-Config-version;</ulink></para>
360
361<itemizedlist spacing='compact'><listitem>
362<para><ulink url="http://star-www.rl.ac.uk/">Starlink IMG</ulink></para>
363
364<itemizedlist spacing='compact'><listitem>
365<para><ulink url="http://star-www.rl.ac.uk/">Starlink NDF</ulink></para>
366
367<itemizedlist spacing='compact'><listitem>
368<para><xref linkend="gcc"/> (Fortran compiler)</para>
369</listitem></itemizedlist>
370</listitem></itemizedlist>
371</listitem></itemizedlist>
372</listitem></itemizedlist>
373</listitem>
374
375<listitem><para><ulink
376url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
377GSDPERL-&GSD-version;</ulink></para>
378
379<itemizedlist><listitem><para><ulink
380url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
381Starlink-Config-&Starlink-Config-version;</ulink></para>
382
383<itemizedlist spacing='compact'><listitem><para><ulink
384url="http://star-www.rl.ac.uk/">Starlink GSD</ulink></para>
385
386<itemizedlist spacing='compact'><listitem>
387<para><xref linkend="gcc"/> (Fortran compiler)</para>
388</listitem></itemizedlist>
389</listitem></itemizedlist>
390</listitem></itemizedlist>
391</listitem></itemizedlist>
392</listitem></itemizedlist>
393</sect4>
394</sect3>
395
396</sect2>
397
398<sect2>
399<title>Installation of <application><acronym>PDL</acronym></application></title>
400
401<para>Install <application><acronym>PDL</acronym></application> by running
402the following commands:</para>
403
404<screen><userinput><command>perl Makefile.PL &amp;&amp;
405make &amp;&amp;
406make test &amp;&amp;
407make install</command></userinput></screen>
408
409</sect2>
410
411<sect2>
412<title>Configuring <application><acronym>PDL</acronym></application></title>
413
414<sect3><title>Config files</title>
415<para><filename>~/.perldlrc</filename> and
416<filename>local.perldlrc</filename> in the current directory</para>
417</sect3>
418
419<sect3><title>Configuration information</title>
420<para>See <ulink
421url="http://pdl.sourceforge.net/PDLdocs/perldl.html#the startup file ~/.perldlrc"/>
422for information about configuring <command>perldl</command> to suit your
423needs.</para>
424</sect3>
425
426</sect2>
427
428<sect2>
429<title>Contents</title>
430
431<para>The <application><acronym>PDL</acronym></application> package contains
432<command>pdl</command>,
433<command>pdldoc</command>,
434<command>perldl</command>,
435<command>pptemplate</command> and over 90
436<application><acronym>Perl</acronym></application> modules.</para>
437
438</sect2>
439
440<sect2>
441<title>Description</title>
442
443<sect3><title>pdl</title>
444<para><command>pdl</command> is a binary program called from
445<application><acronym>PDL</acronym></application> scripts which is used to
446interface <command>perldl</command>.</para>
447</sect3>
448
449<sect3><title>pdldoc</title>
450<para><command>pdldoc</command> is a shell interface to
451<application><acronym>PDL</acronym></application> documentation.</para>
452</sect3>
453
454<sect3><title>perldl</title>
455<para><command>perldl</command> is a simple shell (written in
456<application><acronym>Perl</acronym></application>) for interactive use of
457<application><acronym>PDL</acronym></application>.</para>
458</sect3>
459
460<sect3><title>pptemplate</title>
461<para><command>pptemplate</command> is a script to generate
462<filename>Makefile.PL</filename> and <acronym>PP</acronym> file
463skeletons.</para>
464</sect3>
465
466</sect2>
467
468</sect1>
469
Note: See TracBrowser for help on using the repository browser.