Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
EPINAT Benoit
PyQubeVis
Commits
2e62468b
Commit
2e62468b
authored
Apr 03, 2020
by
EPINAT Benoit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print removed
parent
3e8282be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
PyQubeVis.py
PyQubeVis.py
+1
-1
No files found.
PyQubeVis.py
View file @
2e62468b
...
...
@@ -537,7 +537,7 @@ class MainWindow(QMainWindow, Ui_PyQubeVis):
#XXX ICI
#XXX Option pour ne pas afficher de profil même si un cube a été chargé (ou alors pas les bonnes dimensions)
# Do not update the spectrum if we reach an all-nan-slice or if the cube depth is only 1
print
(
self
.
argfiles
[
'data'
][
self
.
numcube
-
1
][:,
np
.
int32
(
min
(
y
,
self
.
argfiles
[
'sy'
][
self
.
numcube
-
1
])),
np
.
int32
(
min
(
x
,
self
.
argfiles
[
'sx'
][
self
.
numcube
-
1
]))])
#
print(self.argfiles['data'][self.numcube - 1][:, np.int32(min(y, self.argfiles['sy'][self.numcube - 1])), np.int32(min(x, self.argfiles['sx'][self.numcube - 1]))])
if
not
np
.
isnan
(
minip
)
and
not
np
.
isnan
(
maxip
)
and
minip
!=
maxip
:
self
.
line
.
set_ydata
(
self
.
argfiles
[
'data'
][
self
.
numcube
-
1
][:,
np
.
int32
(
min
(
y
,
self
.
argfiles
[
'sy'
][
self
.
numcube
-
1
])),
np
.
int32
(
min
(
x
,
self
.
argfiles
[
'sx'
][
self
.
numcube
-
1
]))])
self
.
profileWidgetDisplay
.
canvas
.
ax
.
axis
([
0
,
self
.
argfiles
[
'sz'
][
self
.
numcube
-
1
],
minip
,
maxip
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment