;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; ;*NAME: pmas_spot ; ;*CATEGORY: PMAS instrument control, focus utility ; ;*PURPOSE: determine best focus ; ;*CALLING SEQUENCE: ; ;*PARAMETERS: ; INPUT: flist string array with file names ; x0,y0 coordinates of spot selected for analysis ; ; OUTPUT: sigma_d/_c Gauss sigma in dispersion/cross dispersion ; fwhm_c/_d full width half max in disp/cross disp. ; ; KEYWORDS: - none - ; ;*EXAMPLES: ; ; ;*SYSTEM VARIABLES USED: ; - none - ; ;*COMMON BLOCKS: ; - none - ; ;*INTERACTIVE INPUT: ; - none - ; ;*SUBROUTINES CALLED: ; polyfit ; picky4x ; dist_circle ; sstring ; fwhm ; ;*FILES USED: ; - none - ; ;*SIDE EFFECTS: ; ; ;*RESTRICTIONS: ; ; ;*NOTES: ; ; ;*PROCEDURE: ; ; ;*MODIFICATION HISTORY: ; ; 27/05/01 MMR initial programming ; 15/05/02 mmr plots improved, optional postscript output added ; ;*AUTHORS: ; ; MMR Martin M. Roth Astrophysikalisches Institut Potsdam ; An der Sternwarte 16 ; D-14547 Potsdam ; Tel. +49 - 331 - 7499 313 ; email: mmroth@aip.de ;-