Loading Lasco.py +11 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,17 @@ def get_lasco_data(dateList, CI=['c2', 'c3'], archive=None): print("All selected files have been downloaded.") def get_halo_list(): def get_halo_list(savepath=None): if savepath is None: archive = './' else: archive = savepath if archive != '' and os.path.isdir(archive): if archive[-1] != os.sep: archive = archive + os.sep else: print('The specified archive path does not exist, the HaloList.csv file will be saved in the current directory.') archive = './' # ------------------------------------------------------------------ # 1 Fetch the HTML page # ------------------------------------------------------------------ Loading img_stat.py +1 −2 Original line number Diff line number Diff line Loading @@ -501,8 +501,7 @@ def plot_results(): ax.set_zlabel('DC_nsigma_count') ax.legend() create a pcolormesh plot having on x axis the time, on y axis the n sigma (1 to nsigma) and on z axis the count for OC # create a pcolormesh plot having on x axis the time, on y axis the n sigma (1 to nsigma) and on z axis the count fig10 = plt.figure(figsize=(12, 6)) ax = fig10.add_subplot(121) n_values = [1, 2, 3, 4, 5] Loading Loading
Lasco.py +11 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,17 @@ def get_lasco_data(dateList, CI=['c2', 'c3'], archive=None): print("All selected files have been downloaded.") def get_halo_list(): def get_halo_list(savepath=None): if savepath is None: archive = './' else: archive = savepath if archive != '' and os.path.isdir(archive): if archive[-1] != os.sep: archive = archive + os.sep else: print('The specified archive path does not exist, the HaloList.csv file will be saved in the current directory.') archive = './' # ------------------------------------------------------------------ # 1 Fetch the HTML page # ------------------------------------------------------------------ Loading
img_stat.py +1 −2 Original line number Diff line number Diff line Loading @@ -501,8 +501,7 @@ def plot_results(): ax.set_zlabel('DC_nsigma_count') ax.legend() create a pcolormesh plot having on x axis the time, on y axis the n sigma (1 to nsigma) and on z axis the count for OC # create a pcolormesh plot having on x axis the time, on y axis the n sigma (1 to nsigma) and on z axis the count fig10 = plt.figure(figsize=(12, 6)) ax = fig10.add_subplot(121) n_values = [1, 2, 3, 4, 5] Loading