Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
L2 pipelines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Metis scientific pipeline
L2 pipelines
Commits
34ce9be9
Commit
34ce9be9
authored
3 years ago
by
Roberto Susino
Browse files
Options
Downloads
Patches
Plain Diff
Optimize solo_get_pointing.pro routine
parent
8178a7cd
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
solo_get_pointing.pro
+8
-11
8 additions, 11 deletions
solo_get_pointing.pro
with
8 additions
and
11 deletions
solo_get_pointing.pro
+
8
−
11
View file @
34ce9be9
function
solo_get_pointing
,
utc
,
degrees
=
degrees
,
arcsec
=
arcsec
function
solo_get_pointing
,
utc
,
degrees
=
degrees
,
arcsec
=
arcsec
,
celestial
=
celestial
;
convert
the
requested
date
into
ephemeris
time
...
...
@@ -20,13 +20,10 @@ function solo_get_pointing, utc, degrees = degrees, arcsec = arcsec
;
make
the
conversion
form
rtn
to
hpc
,
if
necessary
if
frame
eq
'SOLO_SUN_RTN'
then
begin
yaw
=
!
dpi
*
signum
(
yaw
)
-
yaw
if
frame
eq
'SOLO_SUN_RTN'
then
yaw
=
!
dpi
*
signum
(
yaw
)
-
yaw
pitch
=
-
pitch
roll
=
-
roll
endif
else
begin
pitch
=
-
pitch
endelse
;
correct
any
cases
where
the
roll
is
greater
than
+/-
180
degrees
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment