aboutsummaryrefslogtreecommitdiff
path: root/pkg/tbtables/fitsio/fitssppb/fspssi.x
blob: 10612a9a25832967421599120dd00cb180ec3883 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
include "fitsio.h"

procedure fspssi(iunit,group,naxis,naxes,fpixel,lpixel,array,status)

# Write a subsection of integer*2 values to the primary array.
# A subsection is defined to be any contiguous rectangular
# array of pixels within the n-dimensional FITS data file.
# Data conversion and scaling will be performed if necessary
# (e.g, if the datatype of the FITS array is not the same
# as the array being read).

int     iunit           # i input file pointer
int     group           # i group number
int     naxis           # i number of axes
int     naxes[ARB]      # i dimension of each axis
int     fpixel[ARB]     # i first pixel
int     lpixel[ARB]     # i last pixel
short   array[ARB]      # i array of values
int     status          # o error status

begin

call ftpssi(iunit,group,naxis,naxes,fpixel,lpixel,array,status)
end