diff options
Diffstat (limited to 'funtools/fitsy/doc/dataimage.wu')
-rw-r--r-- | funtools/fitsy/doc/dataimage.wu | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/funtools/fitsy/doc/dataimage.wu b/funtools/fitsy/doc/dataimage.wu new file mode 100644 index 0000000..67edfe1 --- /dev/null +++ b/funtools/fitsy/doc/dataimage.wu @@ -0,0 +1,37 @@ +Title: dataimage + + +NAME +==== + ft_dataread,ft_dataswap -Routines to handle FITS image data. + +SYNOPSIS +======== + + +- +void *ft_dataread(File file, FITSHead fits, void *dataptr, int pixtype); +void *ft_dataswap(void *data, int n, int type); + + +- +PARAMETERS +========== + * #"File file" - File pointer to read data from. + * #"FITSHead fits" - Not Documented. + * #"void *dataptr" - Pointer to data buffer to store data. + * #"int pixtype" - Pixtype to convert data to. + * #"void *data" - Pointer to data to swap. + * #"int n" - N bytes + * #"int type" - Swap 2 or swap 4. + +DESCRIPTION +=========== + + ft_dataread + ----------- + Read data from a file pointer and convert it to the requested type. + + ft_dataswap + ----------- + Swap n bytes of data if necessary. |