PRO pixcoord_1d_vec, xsize, xvec ; Description: This module creates a one-dimensional coordinate vector representing the pixel coordinates ; of a one-dimensional pixel vector of size "xsize" pixels. The coordinate vector "xvec" ; represents the x pixel coordinates of the pixel vector. ; ; Input Parameters: ; ; xsize - INTEGER/LONG - The size of the one-dimensional pixel vector (pix). If this value is zero or ; negative, then it will be reset to the default value of "1". ; ; Output Parameters: ; ; xvec - DOUBLE VECTOR - A one-dimensional vector of size "xsize" with values representing the x pixel ; coordinates of the one-dimensional pixel vector. ; ; Author: Dan Bramich (dmb@ing.iac.es) ; ; History: ; ; 24/07/2008 - Module created (dmb) ;Check that "xsize" is a number of the correct type, and reset its value if it is out of range ;Generate the coordinate vector for the one-dimensional pixel vector