Changeset 1372 for trunk/psLib/src/mainpage.dox
- Timestamp:
- Aug 3, 2004, 10:42:30 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/mainpage.dox (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mainpage.dox
r1269 r1372 1 /** @mainpage psLib Image Processing Library 2 1 /** @mainpage psLib Image Processing Library - Release 2 3 2 4 3 @section intro Introduction 5 4 6 This library contains the Pan-STARRS Image Processing Pipeline (IPP) toolkit,7 psLib. The intended use is to provide a library of basic software functionswhich5 This library contains the Pan-STARRS Image Processing Pipeline (IPP) common library, 6 psLib. The intended use is to provide a set of basic software functions in which 8 7 can be used throughout the Pan-STARRS project to simplify programming tasks. Among 9 the benefits are: reuse of code, simplification of testing, streamlining of code, 10 and isolation of functionality that may be subject to change. 8 the benefits are: 9 - reuse of code, 10 - simplification of testing, 11 - streamlining of code, and 12 - isolation of functionality that may be subject to change. 11 13 12 14 The capabilities provided by psLib are grouped into the following areas which are 13 15 also reflected in the file system directory structure: 14 16 - System Utilities 17 - Data Collections 15 18 - Image Operations 16 - Data Collections17 19 - Data Manipulation 18 20 - Astronomy … … 21 23 data types of the earlier entries. 22 24 23 The installed code for psLib consists of header files and binary libraries in the form of static 24 (libpslib.a) and shared (libpslib.so or libpslib.dylib for OX/X.) Assuming these components 25 have been built and installed in the standard library path, psLib may be used within a program by 26 including the line #include <pslib.h> and linking with -lpslib. 27 25 The installed code for psLib consists of header files and binary libraries in 26 the form of static (libpslib.a) and shared (libpslib.so or libpslib.dylib, 27 depending on operating system.) Assuming these components have been built and 28 installed in the standard library path, psLib may be used within a program by 29 including the line #include <pslib.h> and linking using the '-lpslib' option 30 while linking. 28 31 29 32 30 33 @section extinstall Required 3rd Party Libraries 31 34 32 Before building psLib from source, several 3rd party software libraries must be installed. 33 These include: 34 - GNU Scientific Library (GSL), Available at http://www.gnu.org/software/gsl 35 - Fastest Fourier Transform in the West (FFTW), Available at http://www.fftw.org 36 - C Flexible Image Transport System Input output (CFITSIO), Available at http://heasarc.gsfc.nasa.gov/docs/software/fitsio 35 Before building psLib from source, several 3rd party software libraries must 36 be installed. These include: 37 - GNU Scientific Library (GSL) 38 - Compatibility tested with version is 1.4 39 - Available at http://www.gnu.org/software/gsl 40 - Fastest Fourier Transform in the West (FFTW), version 3 41 - Compatibility tested with version is 3.0.1 42 - Available at http://www.fftw.org 43 - C Flexible Image Transport System Input output (CFITSIO), version 2.480 or later 44 - Available at http://heasarc.gsfc.nasa.gov/docs/software/fitsio 45 - Compatibility tested with version is 2.490 46 - Versions earlier than 2.480 will not work as new functionality introduced in 2.480 is exercised 47 - Doxygen Documentation System 48 - Available at http://www.doxygen.org 49 - Compatibility tested with version 1.3.6 37 50 38 If you use a Darwin (Mac OS X) system, a dlfcn compatability library needs to be 39 installed on the system. This can be obtained from the Fink project on SourceForge 40 (the dlcompat package at http://www.sf.net/projects/fink). The Darwin 7.0 (OS X 10.3) 41 'devtools' package seems to also include dlfcn support, so explicit installation of a 42 dlfcn compatibility layer may not be required for this version of Darwin. 43 51 We recommend using the particular versions listed as compatibility tested, as 52 that is the only versions of the external libraries tested to work well with psLib. 53 Though it is quite possible that later versions of the libraries listed will also 54 work as well, care must be taken when upgrading these libraries to verify that its 55 functionality is compatible with the tested version. 44 56 45 57 @section install How to Build from Source 46 58 47 59 The psLib code should to be downloaded from either the tar file posted on: 48 https://gforge.mhpcc.hawaii.edu/projects/panstarrs/ or directly from the CVS server 49 with the following command: 60 61 https://mhpcc.pan-starrs.org/cgi-bin/viewcvs.cgi/releases/rel2 62 63 or directly from the CVS server with the following command: 50 64 <pre> 51 $ cvs -d:ext:username@ gforge.mhpcc.hawaii.edu:data/panstarrs/cvsroot co -PpsLib65 $ cvs -d:ext:username@mhpcc.pan-starrs.org:/data/panstarrs/cvsroot co -r rel2_0 psLib 52 66 </pre> 53 67 54 68 55 The source should build fromthe Makefile in the psLib/src directory. The69 The source should build using the Makefile in the psLib/src directory. The 56 70 recommended steps are: 57 71 <pre> 72 $ cd psLib/src 58 73 $ make 59 74 $ make install … … 62 77 63 78 64 @section run How to Run Tests79 @section run How to Build and Run Tests 65 80 66 Since psLib is a library, there is no executable, per se. However, to test the installation, users 67 may execute the FullUnitTest script: 81 Since psLib is a library, there is no executable, per se. However, to test the 82 installation, users may execute the the unit test suite. To build the unit test 83 suite, do the following: 68 84 <pre> 69 85 $ cd psLib/test 70 86 $ make 71 87 $ make install 72 $ FullUnitTest88 $ make installtests 73 89 </pre> 74 <i>This builds and executes test files for each of the psLib functional areas.</i>90 <i>This builds and installs the unit test files to the psLib/testbin directory.</i> 75 91 92 To run the unit test suite, do the following: 93 <pre> 94 $ cd psLib/testbin 95 $ ./FullUnitTest 96 </pre> 97 or to run a particular test 98 <pre> 99 $ ./runTest testfilename 100 </pre> 76 101 77 @section doc How to Create Documentation102 @section doc How to Create Code Documentation 78 103 79 Both HTML and man page documentation may also be generated: 104 Both HTML and man page documentation may also be generated from the inline 105 documentation in the code using the following commands: 80 106 <pre> 81 107 $ cd psLib/src … … 84 110 <i>This places documentation in psLib/docs.</i> 85 111 112 Also, a prebuilt set of documentation can be found at: 113 114 https://mhpcc.pan-starrs.org/docs/ 115 86 116 */
Note:
See TracChangeset
for help on using the changeset viewer.
