@@ -338,7 +338,6 @@ def lilliefors(magcat, mmin):
338
338
339
339
from statsmodels .stats .diagnostic import lilliefors as lillie
340
340
from numpy import random
341
- import numpy as np
342
341
343
342
incert = ((random .randint (0 , 10000 , size = len (magcat ))) - 5000 ) / 100000
344
343
mag = magcat [:] + incert [:]
@@ -512,7 +511,7 @@ def mc_vs_time(magcat, mmin, mc_ok, serial_times, size, step):
512
511
# --> STAI gap ends
513
512
tmp_hole_upper_lim .append (t_window [i ])
514
513
515
- # Refine STAI gap start time by setting it to the time of the largest shock in the interval,
514
+ # Refine STAI gap start time by setting it to the time of the largest shock in the interval,
516
515
# which has caused the raise of the magnitude of completeness
517
516
for j in range (len (tmp_hole_lower_lim )):
518
517
idx_critical = [idx for idx , val in enumerate (serial_times ) if
@@ -522,7 +521,7 @@ def mc_vs_time(magcat, mmin, mc_ok, serial_times, size, step):
522
521
idx_main = idx_critical [iidx_main [0 ]]
523
522
tmp_hole_lower_lim [j ] = serial_times [idx_main ]
524
523
525
- # Exclude too small regions, which could simply arise from statistical fluctuations of the magnitude of completeness
524
+ # Exclude too small regions, which could simply arise from statistical fluctuations of the magnitude of completeness
526
525
a , b = [], []
527
526
for j in range (len (tmp_hole_lower_lim )):
528
527
index = [idx for idx , val in enumerate (serial_times ) if
0 commit comments