Skip to content
GitLab
Menu
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
4cebd814
Commit
4cebd814
authored
Apr 10, 2018
by
Jakob Knollmueller
Browse files
reorganizing
parent
65ac6f6c
Changes
5
Hide whitespace changes
Inline
Side-by-side
demo.py
→
demos/
demo.py
View file @
4cebd814
from
sugar
import
build_starblade
,
starblade_iteration
from
matplotlib
import
pyplot
as
plt
import
numpy
as
np
from
astropy.io
import
fits
from
matplotlib
import
pyplot
as
plt
import
numpy
as
np
from
starblade.sugar
import
build_starblade
,
starblade_iteration
if
__name__
==
'__main__'
:
#specifying location of the input file:
...
...
multichannel_demo.py
→
demos/
multichannel_demo.py
View file @
4cebd814
from
sugar
import
build_multi_starblade
,
multi_starblade_iteration
from
matplotlib
import
pyplot
as
plt
import
numpy
as
np
from
matplotlib
import
pyplot
as
plt
from
starblade.sugar
import
build_multi_starblade
,
multi_starblade_iteration
if
__name__
==
'__main__'
:
...
...
starblade/__init__.py
0 → 100644
View file @
4cebd814
starblade_energy.py
→
starblade/
starblade_energy.py
View file @
4cebd814
File moved
sugar.py
→
starblade/
sugar.py
View file @
4cebd814
import
nifty4
as
ift
import
numpy
as
np
from
matplotlib
import
pyplot
as
plt
from
multiprocessing
import
Pool
from
starblade_energy
import
StarbladeEnergy
import
nifty4
as
ift
from
starblade.starblade_energy
import
StarbladeEnergy
def
build_starblade
(
data
,
alpha
=
1.5
,
q
=
1e-40
,
cg_iterations
=
500
):
...
...
Write
Preview
Supports
Markdown
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