Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ale
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aflab
astrogeology
Ale
Commits
56eaff5e
Commit
56eaff5e
authored
3 years ago
by
Jesse Mapel
Browse files
Options
Downloads
Patches
Plain Diff
LRO WAC tweaks
parent
b3f353f9
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
ale/drivers/lro_drivers.py
+26
-1
26 additions, 1 deletion
ale/drivers/lro_drivers.py
with
26 additions
and
1 deletion
ale/drivers/lro_drivers.py
+
26
−
1
View file @
56eaff5e
...
@@ -1221,7 +1221,8 @@ class LroLrocWacIsisLabelNaifSpiceDriver(PushFrame, IsisLabel, NaifSpice, Radial
...
@@ -1221,7 +1221,8 @@ class LroLrocWacIsisLabelNaifSpiceDriver(PushFrame, IsisLabel, NaifSpice, Radial
if
self
.
instrument_id
==
"
LRO_LROCWAC_UV
"
:
if
self
.
instrument_id
==
"
LRO_LROCWAC_UV
"
:
base
=
-
85640
base
=
-
85640
elif
self
.
instrument_id
==
"
LRO_LROCWAC_VIS
"
:
elif
self
.
instrument_id
==
"
LRO_LROCWAC_VIS
"
:
base
=
-
85630
# Offset by 2 because the first 2 filters are UV
base
=
-
85628
fikid
=
base
-
self
.
filter_number
fikid
=
base
-
self
.
filter_number
return
fikid
return
fikid
...
@@ -1252,6 +1253,30 @@ class LroLrocWacIsisLabelNaifSpiceDriver(PushFrame, IsisLabel, NaifSpice, Radial
...
@@ -1252,6 +1253,30 @@ class LroLrocWacIsisLabelNaifSpiceDriver(PushFrame, IsisLabel, NaifSpice, Radial
"""
"""
return
list
(
spice
.
gdpool
(
'
INS{}_TRANSY
'
.
format
(
self
.
fikid
),
0
,
3
))
return
list
(
spice
.
gdpool
(
'
INS{}_TRANSY
'
.
format
(
self
.
fikid
),
0
,
3
))
@property
def
focal2pixel_lines
(
self
):
"""
Expects fikid to be defined. This must be the integer Naif id code of the filter
Returns
-------
: list<double>
focal plane to detector lines
"""
return
list
(
spice
.
gdpool
(
'
INS{}_ITRANSL
'
.
format
(
self
.
fikid
),
0
,
3
))
@property
def
focal2pixel_samples
(
self
):
"""
Expects fikid to be defined. This must be the integer Naif id code of the filter
Returns
-------
: list<double>
focal plane to detector samples
"""
return
list
(
spice
.
gdpool
(
'
INS{}_ITRANSS
'
.
format
(
self
.
fikid
),
0
,
3
))
@property
@property
def
detector_start_line
(
self
):
def
detector_start_line
(
self
):
...
...
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