Skip to content

Commit

Permalink
Remove blank spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
carhc committed Oct 14, 2024
1 parent 479fa4c commit 408b0d9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions invisible_cities/reco/krmap_evolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def sigmoid(x : np.array,
def gauss_seed(x : np.array,
y : np.array,
sigma_rel : Optional[int] = 0.05):

'''
This function estimates the seed for a gaussian fit. It looks for the
higher Y value and takes its corresponding X value as the center of the
Expand Down Expand Up @@ -85,7 +84,6 @@ def gauss_seed(x : np.array,

def resolution(values : np.array,
errors : np.array):

'''
Computes the resolution (% FWHM) from the Gaussian parameters.
Expand Down Expand Up @@ -115,7 +113,6 @@ def resolution(values : np.array,

def quick_gauss_fit(data : np.array,
bins : int):

'''
This function histograms input data and then fits it to a Gaussian.
Expand Down Expand Up @@ -144,7 +141,6 @@ def quick_gauss_fit(data : np.array,
def get_time_series_df(ntimebins : int,
time_range : Tuple[float, float],
dst : DataFrame)->Tuple[np.array, List[np.array]]:

'''
Given a dst this function returns a time series (ts) and a list of masks which are used to divide
the dst in time intervals.
Expand Down Expand Up @@ -177,7 +173,6 @@ def compute_drift_v(dtdata : np.array,
dtrange : Tuple[float, float],
seed : Tuple[float, float, float, float],
detector : str)->Tuple[float, float]:

'''
Computes the drift velocity for a given distribution
using the sigmoid function to get the cathode edge.
Expand Down Expand Up @@ -229,7 +224,6 @@ def compute_drift_v(dtdata : np.array,

def e0_xy_correction(map : pd.DataFrame,
norm_strat : NormStrategy)->Callable:

'''
Provides the function to compute only the geometrical corrections.
Expand Down Expand Up @@ -262,7 +256,6 @@ def computing_kr_parameters(data : DataFrame,
nbins_dv : int,
dtrange_dv : List[float],
detector : str)->DataFrame:

'''
Computes some average parameters (e0, lt, drift v, energy
resolution, S1w, S1h, S1e, S2w, S2h, S2e, S2q, Nsipm, 'Xrms, Yrms)
Expand Down Expand Up @@ -406,7 +399,6 @@ def kr_time_evolution(ts : np.array[float],
nbins_dv : int,
dtrange_dv : Tuple[float, float],
detector : str) -> pd.DataFrame:

'''
Computes some average parameters (e0, lt, drift v,
S1w, S1h, S1e, S2w, S2h, S2e, S2q, Nsipm, Xrms, Yrms)
Expand Down Expand Up @@ -482,7 +474,6 @@ def cut_effs_evolution(masks_time : List[np.array],
mask_s2 : np.array,
mask_band : np.array,
evol_table : pd.DataFrame) -> pd.DataFrame:

'''
Computes the efficiencies in time evolution for different time slices.
Returns the input DataFrame updated with S1eff, S2eff, Bandeff.
Expand Down Expand Up @@ -545,7 +536,6 @@ def all_krevol(emap : pd.DataFrame,
nbins_dv : int,
dtrange_dv : Tuple[float, float],
detector : str) -> pd.DataFrame:

'''
Computes the whole krypton evolution parameters table. It applies some masks
Expand Down

0 comments on commit 408b0d9

Please sign in to comment.