Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
starblade
Commits
65ac6f6c
Commit
65ac6f6c
authored
Apr 10, 2018
by
Jakob Knollmueller
Browse files
data folder
parent
8054b9ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
demo.py
View file @
65ac6f6c
...
...
@@ -6,7 +6,7 @@ import numpy as np
if
__name__
==
'__main__'
:
#specifying location of the input file:
path
=
'hst_05195_01_wfpc2_f702w_pc_sci.fits'
path
=
'
data/
hst_05195_01_wfpc2_f702w_pc_sci.fits'
data
=
fits
.
open
(
path
)[
1
].
data
data
=
data
.
clip
(
min
=
0.001
)
...
...
multichannel_demo.py
View file @
65ac6f6c
...
...
@@ -5,7 +5,7 @@ import numpy as np
if
__name__
==
'__main__'
:
# data = plt.imread('10Keso1242a.tif')
data
=
plt
.
imread
(
'eso1242a.jpg'
)
data
=
plt
.
imread
(
'
data/
eso1242a.jpg'
)
data
=
data
.
astype
(
float
)
data
=
data
.
clip
(
0.0001
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment