Input to setup:

       Rmaxin = 10000.          Maximum resolution R = lambda/(delta lambda)
 slitmaxsecin = 0.1             Maximum slit size [arcsec]
          Rin = 5000.           Resolution R = lambda/(delta lambda)
     lambdain = 1.6             Central wavelength [microns]
    slitsecin = 0.1             Slit width [arcsec]
       npixin = 2.              Number of pixels matched to slit [real]
      set_atm = yes             Set sky extinction and emission to default valu
        (mode = "ql")           

Output of setup:

A spectrograph on a 30m GSMT which achieves a maximum resolution 
of  10000 operating with a slit width of at most 0.100 arcsec, operating near 
the maximum practical grating tilt, will require a collimator of focal 
length 0.545 m, and a camera of focal length 0.090 m. The beam diameter 
is 0.036 m. The collimator, grating and camera parameters have been set in 
specpars.

This assumes a slit of 0.100 arcsec is matched to  2.0 pixels, 
each of	18.0 microns.

The camera focal ratio is   2.48. F-ratios smaller than 1.0 will 
be difficult to achieve.

The telescope parameters are set in specpars by the table: telescope_GSMT
The detector parameters are set in specpars by the table: HdCdTe
The sky absorption and emission tables have been set to the defaults: 
extinct_nearir and irsky1_5

Output of sptime

Object spectrum: Blackbody spectrum of temperature 6000. K
Reference wavelength: 16000. Angstroms
Reference flux: AB = 10. (4.28E-14 ergs/s/cm^2/A)
Sky spectrum: IR sky background
Extinction:  CTIO (<9000A) + Mauna Kea (1mm H20)
	Airmass: 1.
Seeing: 1." (FWHM)

Telescope: Generic Telescope
	Area: 676.6 m^2, Scale: 0.458 arcsec/mm
Collimator: 
	Focal length = 0.5454 m
Apertures: Slit with Gaussian profile
	Size: 0.05" x 5.00", 0.1 x 10.9 mm, 0.9 x 100.0 pixels
Disperser: Generic grating (Littrow)
	Central order = 1
	Central wavelength = 16000. Angstroms
	Central dispersion = 88.9 Angstroms/mm, 1.6 Angstroms/pixel
	Ruling = 883 lines/mm
	Blaze = 45.0 deg
	Grating tilt = 45.0 degrees
	Using tabulated efficiencies
Camera: 
	Focal length = 0.09 m, Resolution = 2. pixels
Detector: Hawaii HgCdTe detector
	Pixel size: 18 microns, 0.05"
	Number of pixels = 4096
	Read noise = 10.0 e-, Gain = 2.0 e-/DN, Dark = 0.1 e-/s

Source pixels: 63 pixels (3xFWHM seeing disk)
Background pixels:  39 pixels

WARNING: More than 10% contribution from other orders.

---- Results for 0.16s exposure at 16000. Angstroms ----

Source flux: 0.0345 photons/s/cm^2/A (AB=10.)
Background flux: 1.84E-6 photons/s/cm^2/A (over source pixels)

Transmision/Efficiencies:               indivdual cumulative
    Atmosphere (0.024 mag/airmass)          97.8%      97.8%
    Aperture (seeing=1.")                    3.3%       3.2%
    Detector DQE                            57.6%       1.9%

Statistics per exposure per pixel:             e-      sigma
    Source                                   2319       48.2
    Dark                                        0        0.0
    Readout                                             79.4
    Net                                      2319       92.9

Signal-to-Noise Statistics:
   24 per exposure per pixel
   35 per exposure per 3.2 Angstroms (2 pixel) resolution element

Exposure time: 0.16s

Type 'q' to quit graphs or any other key to continue
