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


next up previous contents index
Next: imagerpositiontest.get_componentlisttable - Function Up: imagerpositiontest - Tool Previous: imagerpositiontest.get_beam - Function


imagerpositiontest.get_center_position - Function



Package synthesis
Module synthesistester
Tool imagerpositiontest


Get the center position for the map that will be created.


Synopsis
get_center_position()


Description
This function determines the center position for the images that will be created by getting the PHASE_DIR column from the MS's field table and averaging the max and min RA and the max and min Dec.



Returns
a Direction or fail


Example
- include 'imagerpositiontest.g';
- ipt := imagerpositiontest();
- ipt.set_sim_parms(nfields=4,sourcedirection=dm.direction('J2000', 
                                       '17h44m0.0','-10d0m0.000'));
- ipt.make_default_simulator();
- ipt.get_center_position();
[type=direction, refer=J2000, m1=[value=-0.174669194, unit=rad], 
m0=[unit=rad, value=-1.64074787]]





next up previous contents index
Next: imagerpositiontest.get_componentlisttable - Function Up: imagerpositiontest - Tool Previous: imagerpositiontest.get_beam - 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