Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: dynamicsched.probview - Function Up: dynamicsched - Tool Previous: dynamicsched.viewsensitivity - Function


dynamicsched.generateprojects - Function



Package synthesis
Module simulator
Tool dynamicsched


Create many simulated observing projects


Synopsis
generateprojects(nprojects, ratingmin, ratingmax, timemode, timesigma, timemax, freqtransexponent, freqwt, freqexponent, decmin, decmax)


Description

This function generates simulated observing projects which a particular frequency distribution, observing time distribution, rating distribution, and RA/DEC distribution.

Currently, the model for the observing frequency distribution is

transtransexp*(1 + freqwt*(freq/freqmax)freqexp), (1.36)

where trans is the atmospheric transmission at 1 mm of precipitable water vapor. The first term provides for the basic trend that you observe more often where the atmosphere is more transparent. The freqwt and freqexp permit the simulator to place more weight on higher frequencies, where the atmosphere is less transparent but the science may be deemed to be more interesting.

The observing time distribution is a Gaussian with peak located at timemode, a width of timesigma, a minimum observing time of one hour, a maximum observing time of timemax, and quantized in integer numbers of hours.

The project rating distribution is flat between ratingmin and ratingmax, with only integer values.

The distribution in RA/DEC is assumed to be flat (ie, fewer sources at hogh and low declination), more at the equator. The declination range is set by decmin and decmax.

The distributions of ratings, observing frequencies, observing times, and RA/DEC are assumed to be independent.



Arguments

nprojects Number of projects to generate
Allowed: Int
Default: 100
ratingmin Minimum rating
Allowed: Int
Default: 1
ratingmax Maximum rating
Allowed: Int
Default: 10
timemode Peak of distribution of allotted observing times
Allowed: Quantity
Default: '5h'
timesigma Width of distribution of allotted observing times
Allowed: Quantity
Default: '10h'
timemax Extent of tail of distribution of allotted observing times
Allowed: Quantity
Default: '20h'
freqtransexponent Exponent of atmospheric transmission in freq distribution
Allowed: Quantity
Default: 2.0
freqwt Multiplier to increase weight of high frequency observations
Allowed: Quantity
Default: 2.0
freqexponent Exponent to increase weight of high frequency observations
Allowed: Quantity
Default: 1.5
decmin Minimum declination in dec range
Allowed: Quantity
Default: '-90deg'
decmax Maximum declination in dec range
Allowed: Quantity
Default: '52deg'


Returns
Bool


Example
mysched.generateprojects(nprojects=300, timemean='1h', 
timesigma='10h', timemax='30h', freqwt=1.0);





next up previous contents index
Next: dynamicsched.probview - Function Up: dynamicsched - Tool Previous: dynamicsched.viewsensitivity - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15