Skip to content

New function#410

Open
sanjibs wants to merge 3 commits intospacetelescope:mainfrom
sanjibs:new_function
Open

New function#410
sanjibs wants to merge 3 commits intospacetelescope:mainfrom
sanjibs:new_function

Conversation

@sanjibs
Copy link

@sanjibs sanjibs commented Jan 15, 2026

This one does bug fix and adds new functions to implement
function “idl_to_tel" with keywords
method=’spherical', input_coordinates='tangent_plane’, output_coordinates=’spherical'

function “tel_to_idl" with keywords
method=’spherical', input_coordinates=’spherical', output_coordinates='tangent_plane’

(x_idl, y_idl) correspond to (y, z) components of the unit vector respectively.
Did not work if any element of  x_rad, y_rad, z_rad was zero.
Two new functions added simplyfing the idl to tel coordinate system conversions. method is assumed to be spherical,  planar_approximation is eliminated. idl coords could be specified in either spherical or in tangent plane.

updated function logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant