Identifier band_2_det Purpose Convert a SWS band to the absolute detector(s) Synopsis det = band_2_det(band,stat=stat) Arguments Name I/O Type: Description: -------------------------------------------------------- band I intarr Selected detectorband(s) (0,1..6) (0=all bands) stat I /O int error status, 0 if ok, 1 if fatal Description This routine converts the SWS bandnumber to an integer array of detector numbers Defined number of det per band: [12,12,12,12,2,2] Band range: 0,1-6, Channel range: 1-52 Returns The absolute detector number(s) (1..52) Comment -- Example det= band_2_det(1) this yields an array det = [1,2,3,4,5,6,7,8,9,10,11,12] Dependencies CALLS: sap_error CALLED FROM: disp_aar, sap_rebin Category ISAP Filename band_2_det.pro Author E. Sturm (--> ES) Version 1.2 History 1.0 19-10-1995 ES first version, based on the SWS IA routine band2det (N.J.M. Sijm) 1.1 30-11-1995 ES ISAP V1 delivery 1.2 09-07-1996 ES stat added