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 - Constructor Up: simulator - Module Previous: imageevaluator.done - Function


dynamicsched - Tool



Package synthesis
Module simulator


Postscript file available

tool for simulating dynamic scheduling


Description

dynamicsched provides a set of simple tools for exploring the efficiency of dynamic and static scheduling. It requires site testing data including phase monitor and opacity data, as it available for many sites now (such as the Chajnantor site in Chile).



Example
The following example shows how to use the dynamicsched dynamic scheduling simulator.
include 'dynamicsched.g'
mysched := dynamicsched();
#
# info about teh site testing data
#
mysched.setsitedata(sitedatafile='CH.9506.INT+ALL', headerfile='header.sitedata',
observatory='ALMA', seeinglambda='26.79mm', seeingel='36deg', seeingbaseline='300m'));
#
# theoretical opacity profile
#
mysched.settaudata(tautermsfile='CH.LIEBE.TERMS');
#
# perform scheduling for 100 hours, starting 1 day after the start of the site data file;
# schedule increment is 0.5 hours.
#
mysched.settimes(dt='0.5h', relativestart='1.00d', duration='100.0h')
mysched.setschedcriteria();
mysched.setphasecalinfo();
mysched.setchangeinfo(  azslewrate='2.0deg/s', elslewrate='1.0deg/s', 
changeoverhead='60s');
#
# define the sensitivity of the instrument
#
mysched.setsensitivity(dishdiameter='12m', nantennas=64, npol=2);
mysched.setbandsensitivity(1, 'band1', '1GHz', '100GHz', '8GHz', '30K', 0.80);
mysched.setbandsensitivity(2, 'band2', '100GHz', '300GHz', '8GHz',  '50K', 0.75);
mysched.setbandsensitivity(3, 'band3', '300GHz', '500GHz',  '8GHz', '100K',  0.70);
mysched.setbandsensitivity(4, 'band4', '500GHz', '700GHz',  '8GHz', '200K', 0.60);
mysched.setbandsensitivity(5, 'band5', '700GHz', '1000GHz',  '8GHz', '300K',  0.50);
mysched.viewsensitivity();
#
# create many simulated projects; can control distribution of observing time, 
# frequency, etc
#
mysched.generateprojects(nprojects=100, timemode='2h', timesigma='5h', timemax='20h');
mysched.probview('rating')
mysched.probview('freq')
mysched.probview('radec')
mysched.probview('time')
mysched.saveprojects(projecttable='PROJECTS.SAVE');
#
# actually make a schedule for our simulated projects
#
mysched.schedule();
mysched.saveschedule(scheduletable='SCHEDULE.SAVE');
mysched.done();
#

Constructors
dynamicsched Construct an dynamic scheduling
Functions
defaultinitialize Perform a default initialization - archaic
done Clean up the dynamic scheduling object
evaluateobservations Evaluate the observations
generateprojects Create many simulated observing projects
getpgplotter Get the pgplotter
probview View the probability distributions for time, freq, rating, RA/DEC
recoverprojects Recover the observing projects from a Table
recoverschedule Recover an observing schedule from a table
reobserveschedule Given a schedule reobserve it for the current conditions
saveprojects Save the observing projects to a Table
saveschedule Save the current observing schedule to a table
schedule Go through the site test data and schedule projects
setbandsensitivity Specify band-dependent parameters which influence the sensitivity
setchangeinfo Specify parameters which affect how quickly source changes occur
setphasecalinfo Provide parameters which determine how well the phase calibration works
setschedcriteria Set criteria for scheduling observations
setsensitivity Specifiy coarse telescope parameters which influence sensitivity
setsitedata Define a few site related data
settaudata Name the file with the model of opacity vs frequency
settimes Specify time-related parameters
viewsensitivity Look at the sensitivity parameters that have been set




next up previous contents index
Next: dynamicsched - Constructor Up: simulator - Module Previous: imageevaluator.done - 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