#!/bin/csh

# mchw  10 sep 2003

echo Calculate ALMA sensitivity

# typical winter conditions expected at ALMA site

obstau altitude=5 freq=100 mmh2o=1
obstau altitude=5 freq=230 mmh2o=1
obstau altitude=5 freq=345 mmh2o=1

# Get average diameter from total collecting area of 60 antenna ALMA array

calc 'sqrt((60*12**2)/60)'

# Use aperture efficiency of 78% assumed for ALMA antennas

# Continuum Sensitivity [mJy/sqrt(min)]
obsrms tsys=95  antdiam=12,.78 bw=8000 nants=64 freq=100
obsrms tsys=197 antdiam=12,.78 bw=8000 nants=64 freq=230
obsrms tsys=284 antdiam=12,.7 bw=8000 nants=64 freq=345

# Spectral Line Sensitivity [K x 1 km/s / 1 arcsec / sqrt(min)]
obsrms tsys=95  antdiam=12,.78 deltav=1 nants=64 freq=100
obsrms tsys=197 antdiam=12,.78 deltav=1 nants=64 freq=230
obsrms tsys=284 antdiam=12,.7 deltav=1 nants=64 freq=345
