Changeset 3048 in Sophya for trunk/SophyaLib/Manual


Ignore:
Timestamp:
Aug 11, 2006, 6:05:12 PM (19 years ago)
Author:
ansari
Message:

Petits ajouts dans la doc sophya.tex (concernant fitsinoutfile << en particulier) , Reza 11/08/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Manual/sophya.tex

    r3045 r3048  
    11861186\subsubsection{NTuple}
    11871187\index{NTuple}
    1188 NTuple are memory resident tables of 32 or 64 bits floating values
     1188{\bf NTuple} are memory resident tables of 32 or 64 bits floating values
    11891189(float/double).They are arranged in columns. Each line is often called an event.
    11901190These objects are frequently used to analyze data.
     
    12091209\end{verbatim}
    12101210
    1211 XNTuple provide additional functionalities, compared to NTuple.
    1212 They are deprecated and are only kept  for backward compatibility
    1213 and should not be used anymore. Use DataTable and
    1214 SwPPFDataTable instead.
     1211{\bf XNTuple} provide additional functionalities, compared to NTuple. However,
     1212this class is deprecated and superseded by classes inheriting from  BaseDataTable.
     1213It is only kept  for backward compatibility and should not be used anymore.
     1214Use DataTable and  SwPPFDataTable instead.
    12151215Object of type XNTuple handle various types
    12161216of column values (double,float,int,string,...) and can handle
     
    12511251The class {\bf SwPPFDataTable} implements the BaseDataTable interface
    12521252using segmented data blocks with swap on PPF streams. Very large data sets
    1253 can be created and manipulated through tis class
     1253can be created and manipulated through this class. A similar class
     1254SwFitsDataTable (\ref{SwFitsDataTable}), using
     1255FITS files as swap space is also provided in the FitsIOServer module.
    12541256
    12551257\index{DataTableRow}
     
    18111813\end{figure}
    18121814%%%%
    1813 \subsection{FITS handlers}
     1815\subsection{FITS handlers and I/O operators}
    18141816\index{FitsManager}
    18151817Handlers classes inheriting from {\bf FitsHandlerInterface} perform write/read operations
     
    18191821\hspace{5mm} {\tt FitsInOutFile\& $<<$ } \, and \,  {\tt FitsInOutFile\& $>>$ } \hspace{5mm}
    18201822operators can be used to write and read objects. 
     1823When reading objects from a fits file using the {\tt FitsInOutFile\& $>>$ } operator,
     1824the fits file is positioned on the next HDU, after reading. Also, if the {\bf FitsInOutFile}
     1825object is positioned on a first empty HDU (without data, naxis=0), reading in objects
     1826corresponding to a binary or ascii table using the operator $>>$  will skip automatically
     1827the empty HDU and position the fits file on the second HDU, before trying to read in
     1828the object.
    18211829\par
    18221830The two main types of fits data structures, images and tables
     
    18261834A number of more specific handlers are also available, in particular for NTuple,
    18271835\tcls{SphereHealPix} and \tcls{SphereThetaPhi}.  \\[2mm]
    1828 {\bf Warning:} Some handlers were written with the old FitsIOServer classes and
    1829 inherit from the intermediate class {\bf FitsIOHandler}. They 
    1830 have been adapted to the new scheme, but may not perform correctly if not used
    1831 through the {\bf FitsManager} class. \\[2mm]
     1836{\bf Warning:} Some handlers were written with the old FitsIOServer classes.
     1837They  inherit from the intermediate class {\bf FitsIOHandler} and
     1838have been adapted to the new scheme. \\[2mm]
    18321839%%%
    18331840The examples below illustrates the usage of FitsIOServer classes. They can be compiled
     
    19191926
    19201927\subsection{SwFitsDataTable and other classes}
     1928\label{SwFitsDataTable}
    19211929\index{SwFitsDataTable}
    19221930The {\bf SwFitsDataTable} class implements the BaseDataTable interface
Note: See TracChangeset for help on using the changeset viewer.