Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vasudevan, Rama K
pycroscopy
Commits
95e57a70
Commit
95e57a70
authored
Nov 12, 2018
by
Somnath, Suhas
Browse files
Added mpi imports that were missing
parent
c758f0d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
pycroscopy/processing/signal_filter.py
View file @
95e57a70
...
...
@@ -17,6 +17,14 @@ from pyUSID.io.write_utils import Dimension
from
.fft
import
get_noise_floor
,
are_compatible_filters
,
build_composite_freq_filter
from
.gmode_utils
import
test_filter
try
:
from
mpi4py
import
MPI
if
MPI
.
COMM_WORLD
.
Get_size
()
==
1
:
# mpi4py available but NOT called via mpirun or mpiexec => single node
MPI
=
None
except
ImportError
:
# mpi4py not even present! Single node by default:
MPI
=
None
# TODO: correct implementation of num_pix
...
...
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