Skip to content

Commit 734313a

Browse files
committed
minor
1 parent 56d11ae commit 734313a

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

pyspod/spod_base.py

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ def _nextpow2(a):
528528
of 2 that satisfy 2^p >= abs(a)
529529
'''
530530
p = 0
531-
v = 0
531+
v = 0
532532
while v < np.abs(a):
533533
v = 2 ** p
534534
p += 1
@@ -589,14 +589,14 @@ def plot_eigs(self,
589589
equal_axes=equal_axes, path=self.save_dir, filename=filename)
590590

591591
def plot_eigs_vs_frequency(self,
592-
freq=None,
593-
title='',
592+
freq=None,
593+
title='',
594594
xticks=None,
595595
yticks=None,
596-
show_axes=True,
597-
equal_axes=False,
596+
show_axes=True,
597+
equal_axes=False,
598598
figsize=(12,8),
599-
filename=None):
599+
filename=None):
600600
'''
601601
See method implementation in the postprocessing module.
602602
'''
@@ -673,25 +673,25 @@ def plot_2D_mode_slice_vs_time(self,
673673
path=self.save_dir, filename=filename)
674674

675675
def plot_3D_modes_slice_at_frequency(self,
676-
freq_required,
677-
freq,
678-
vars_idx=[0],
679-
modes_idx=[0],
680-
x1=None,
681-
x2=None,
682-
x3=None,
683-
slice_dim=0,
684-
slice_id=None,
685-
fftshift=False,
686-
imaginary=False,
687-
plot_max=False,
676+
freq_required,
677+
freq,
678+
vars_idx=[0],
679+
modes_idx=[0],
680+
x1=None,
681+
x2=None,
682+
x3=None,
683+
slice_dim=0,
684+
slice_id=None,
685+
fftshift=False,
686+
imaginary=False,
687+
plot_max=False,
688688
coastlines='',
689-
title='',
690-
xticks=None,
691-
yticks=None,
692-
figsize=(12,8),
693-
equal_axes=False,
694-
filename=None):
689+
title='',
690+
xticks=None,
691+
yticks=None,
692+
figsize=(12,8),
693+
equal_axes=False,
694+
filename=None):
695695
'''
696696
See method implementation in the postprocessing module.
697697
'''
@@ -765,14 +765,14 @@ def plot_data_tracers(self,
765765
# Generate animations
766766
# ---------------------------------------------------------------------------
767767
def generate_2D_data_video(self,
768-
time_limits=[0,10],
769-
vars_idx=[0],
770-
sampling=1,
771-
x1=None,
772-
x2=None,
773-
coastlines='',
774-
figsize=(12,8),
775-
filename='data_video.mp4'):
768+
time_limits=[0,10],
769+
vars_idx=[0],
770+
sampling=1,
771+
x1=None,
772+
x2=None,
773+
coastlines='',
774+
figsize=(12,8),
775+
filename='data_video.mp4'):
776776
'''
777777
See method implementation in the postprocessing module.
778778
'''

0 commit comments

Comments
 (0)