Skip to main content Accessibility help
×
Hostname: page-component-84b7d79bbc-rnpqb Total loading time: 0 Render date: 2024-07-26T21:23:33.490Z Has data issue: false hasContentIssue false

GENCON: converts between any of the coordinate systems

Published online by Cambridge University Press:  17 February 2010

Peter Duffett-Smith
Affiliation:
Downing College, Cambridge
Get access

Summary

The subroutines described earlier in this book for converting between the various coordinate systems are quite satisfactory for normal use where you have a requirement for one particular conversion. However, it is sometimes convenient to have a more general routine to hand which can be used to convert from one system to any other system, at the flick of a (software) switch. We can use matrices for this purpose, ordered sets of numbers set out in rows and columns. The manipulation of the matrices is always the same; to change from one system to another you merely have to change the numbers in the matrices.

Subroutine GENCON is able to produce and manipulate just four different matrices, appropriate for conversions between azimuth/altitude and hour angle/declination, hour angle/declination and right ascension/declination, right ascension/declination and ecliptic longitude/latitude, and right ascension/ declination and galactic longitude/latitude. However, you can use it to convert coordinates from any of the systems to any other system by serial conversion. For example, suppose that you wish to know the azimuth and altitude of a pulsar whose galactic coordinates you have to hand. You would first convert to right ascension/declination, then to hour angle/declination, and finally to azimuth/altitude. GENCON will do this triple conversion automatically.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 1990

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×