% @(#)createspc2.hlq 17.1.1.1 (ESO-IPG) 01/25/02 17:14:50 %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990 European Southern Observatory %.IDENT createspc2.hlq %.AUTHOR FM, IPG/ESO %.KEYWORDS MIDAS, help files, CREATE/SPC2 %.PURPOSE On-line help file for the command: CREATE/SPC2 %.VERSION 1.0 07-SEPT-1986 : Creation, FM %---------------------------------------------------------------- \se SECTION./SPC2 \es\co CREATE/SPC2 07-SEPT-1986 FM \oc\su CREATE/SPC2 image [period] [slope] [phase] [dimension] generate a discrete 1-dimensional image \us\pu Purpose: Generate a discrete 1-dimensional image with an arbitrary periodic pattern. For a period, p, p values are read in (or defaulted) to give the flux values of p successive pixels. Optionally, the periodic pattern can be superimposed on a constant slope. \up\sy Syntax: CREATE/SPC2 image [period] [slope] [phase] [dimension] \ys\pa image = the output image name, \ap\pa period = integer value between 1 and 20 (default = 10), \ap\pa slope = real slope of the image (default = 0.0); flux added to the periodic pattern in the I'th image pixel is slope*I, \ap\pa phase = integer denoting the sequence number of the pattern element which goes into the first pixel of the image created (default = 1), \ap\pa dimension = dimension of the output image (default = 128). \ap\no Note: Keyword RIPVALS may be initialised prior to calling SPEC2, with p (period) integer values which will define the image; or, alternatively, if this is not done, use the default period (i.e. 10) and the default wave definition (i.e. 4,5,6,3,2,7,1, 4,5,0). \on\exs Examples: \ex WRITE/KEY RIPVALS/I/1/11 4,5,6,3,2,2,1,4,5,6,0 \xe\ex CREATE/SPC2 outim 11 \xe \sxe