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


next up previous contents index
Next: coordsys.replace - Function Up: coordsys - Tool Previous: coordsys.referencevalue - Function


coordsys.reorder - Function



Package general
Module images
Tool coordsys


Reorder the coordinates


Synopsis
reorder(order)


Arguments

order in New coordinate order
    Allowed: Vector of integers


Returns
Vector of quantities or doubles, or fail



Description

This function reorders the coordinates in the Coordinate System. You specify the new order of the coordinates in terms of their old order.



Example
- cs := coordsys(direction=T, spectral=T, linear=2)
- cs.coordinatetype()
Direction Spectral Linear
-
- cs.reorder([2,3,1]);
- cs.coordinatetype()
Spectral Linear Direction





next up previous contents index
Next: coordsys.replace - Function Up: coordsys - Tool Previous: coordsys.referencevalue - 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-08-01