Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
helix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Andreas Korpi-Lagg
helix
Commits
e76a740a
Commit
e76a740a
authored
1 year ago
by
Andreas Korpi-Lagg
Browse files
Options
Downloads
Patches
Plain Diff
wlarr bugfix in read_fitsstokes
parent
6af9ca58
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ilib_lagg/read_fitsstokes.pro
+1
-1
1 addition, 1 deletion
ilib_lagg/read_fitsstokes.pro
with
1 addition
and
1 deletion
ilib_lagg/read_fitsstokes.pro
+
1
−
1
View file @
e76a740a
...
@@ -294,7 +294,7 @@ pro read_fitsstokes,fitsfile,dataout,x=x,y=y,fitstype=fitstype, $
...
@@ -294,7 +294,7 @@ pro read_fitsstokes,fitsfile,dataout,x=x,y=y,fitstype=fitstype, $
dummy
=
execute
(
'dny='
+
dfstr
+
'.ny'
)
dummy
=
execute
(
'dny='
+
dfstr
+
'.ny'
)
if
min
(
x
)
ge
0
and
max
(
x
)
le
dnx
-
1
and
$
if
min
(
x
)
ge
0
and
max
(
x
)
le
dnx
-
1
and
$
min
(
y
)
ge
0
and
max
(
y
)
le
dny
-
1
then
begin
min
(
y
)
ge
0
and
max
(
y
)
le
dny
-
1
then
begin
dummy
=
execute
(
'wlarr=
reform(
'
+
dfstr
+
'.wl
)
'
)
dummy
=
execute
(
'wlarr='
+
dfstr
+
'.wl'
)
wl2d
=
n_elements
(
size
(
wlarr
,
/
dim
))
ge
2
wl2d
=
n_elements
(
size
(
wlarr
,
/
dim
))
ge
2
if
wl2d
then
wl
=
reform
(
wlarr
(
*,
min
(
x
)
:
max
(
x
),
min
(
y
)
:
max
(
y
)))
else
wl
=
wlarr
if
wl2d
then
wl
=
reform
(
wlarr
(
*,
min
(
x
)
:
max
(
x
),
min
(
y
)
:
max
(
y
)))
else
wl
=
wlarr
;
dummy
=
execute
(
'wl=reform('
+
dfstr
+
'.wl(*,min(x):max(x),min(y):max(y)))'
)
;
dummy
=
execute
(
'wl=reform('
+
dfstr
+
'.wl(*,min(x):max(x),min(y):max(y)))'
)
...
...
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