Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
L1 pipeline
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Metis scientific pipeline
L1 pipeline
Commits
679d34a6
Commit
679d34a6
authored
3 years ago
by
Roberto Susino
Browse files
Options
Downloads
Patches
Plain Diff
Optimize solo_get_pointing.pro routine
parent
95ac0fb6
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
+6
-9
6 additions, 9 deletions
solo_get_pointing.pro
with
6 additions
and
9 deletions
solo_get_pointing.pro
+
6
−
9
View file @
679d34a6
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
;
convert
the
requested
date
into
ephemeris
time
...
@@ -20,13 +20,10 @@ function solo_get_pointing, utc, degrees = degrees, arcsec = arcsec
...
@@ -20,13 +20,10 @@ function solo_get_pointing, utc, degrees = degrees, arcsec = arcsec
;
make
the
conversion
form
rtn
to
hpc
,
if
necessary
;
make
the
conversion
form
rtn
to
hpc
,
if
necessary
if
frame
eq
'SOLO_SUN_RTN'
then
begin
if
frame
eq
'SOLO_SUN_RTN'
then
yaw
=
!
dpi
*
signum
(
yaw
)
-
yaw
yaw
=
!
dpi
*
signum
(
yaw
)
-
yaw
pitch
=
-
pitch
pitch
=
-
pitch
roll
=
-
roll
roll
=
-
roll
endif
else
begin
pitch
=
-
pitch
endelse
;
correct
any
cases
where
the
roll
is
greater
than
+/-
180
degrees
;
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