Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/science/

sphere_to_cart.pro


Routines

top source sphere_to_cart

sphere_to_cart, r, theta, phi, x, y, z, vec=vec

PROCEDURE sphere_to_cart,r,theta,phi, x,y,z PURPOSE: transform from spherical to cartesian coordinates INPUTS: r, theta, phi (array or scalar) (Units are degrees) OUTPUTS: x, y, z (will have the same dimensions as r,theta,phi) KEYWORD OUTPUT: VEC: a named variable in which the vector [x,y,z] is returned CREATED BY: Davin Larson LAST MODIFICATION: @(#)sphere_to_cart.pro 1.6 02/11/01 NOTES: -90 < theta < 90 (latitude not co-lat) SEE ALSO: xyz_to_polar.pro

Parameters

r
theta
phi
x
y
z

Keywords

vec

File attributes

Modification date: Thu Feb 13 16:43:40 2014
Lines: 8