![]() |
Belle II Software development
|
Public Member Functions | |
| __init__ (self, t0_bounds, tau_bounds, amplitude_bounds, sigma_bounds, tau_sigma, bin_size, wf=betaprime_wave) | |
| get_t0_bounds (self) | |
| get_amp_bounds (self) | |
| get_tau_bounds (self) | |
| set_tau_bounds (self, tau_min, tau_max) | |
| set_tau_sigma (self, tau_sigma) | |
| get_tau_sigma (self) | |
| get_sigma_bounds (self) | |
| generate (self, sample_size) | |
| get_t0_array (self) | |
| get_t0_bins (self) | |
Public Attributes | |
| t0_min | |
| t0 bounds | |
| t0_max = t0_bounds | |
| t0 bounds | |
| tau_min | |
| tau bounds | |
| tau_max = tau_bounds | |
| tau bounds | |
| amp_min | |
| amplitude bounds | |
| amp_max = amplitude_bounds | |
| amplitude bounds | |
| sigma_min | |
| sigma bounds | |
| sigma_max = sigma_bounds | |
| sigma bounds | |
| tau_coder = tau_encoder(amplitude_bounds, tau_bounds) | |
| tau encored | |
| tau_sigma = tau_sigma | |
| tau sigma | |
| bin_size = bin_size | |
| bin size | |
| wf = wf | |
| wf ? | |
| n_samples = sample_size | |
| sample size | |
| stockdata | |
| stock data | |
| t0_bins = np.percentile(self.stockdata.t0, np.arange(0, 101, self.bin_size)) | |
| undocumented variable | |
| t0_bin_times = self.stockdata['t0'].groupby(self.stockdata.t0_bin).aggregate(np.mean) | |
| undocumented variable | |
This class generates a Pandas dataframe with a random sample of SVD strip signals with specified size and parameters. NB: 1. We generate time bins from quantiles, do we want a regular grid? 2. Have to think of possible irregular grid.
Definition at line 201 of file SVDSimBase.py.
| __init__ | ( | self, | |
| t0_bounds, | |||
| tau_bounds, | |||
| amplitude_bounds, | |||
| sigma_bounds, | |||
| tau_sigma, | |||
| bin_size, | |||
| wf = betaprime_wave ) |
The constructor takes the following parameters: t0_bounds is a tuple, (t0_min, t0_max) tau_bounds is a tuple (tau_min, tau_max) amplitude_bounds is a tuple (amp_min, amp_max) sigma_bounds is a tuple (sigma_min, sigma_max) bin_size is the % fraction of t0_min, t0_max interval corresponding to a single output t0 bin.
Definition at line 209 of file SVDSimBase.py.
| generate | ( | self, | |
| sample_size ) |
Generate sample_size samples.
Definition at line 280 of file SVDSimBase.py.
| get_amp_bounds | ( | self | ) |
Get amplitude bounds of sampling space
Definition at line 242 of file SVDSimBase.py.
| get_sigma_bounds | ( | self | ) |
Get sigma bounds
Definition at line 274 of file SVDSimBase.py.
| get_t0_array | ( | self | ) |
Get array of mean t0's for classifier bins
Definition at line 317 of file SVDSimBase.py.
| get_t0_bins | ( | self | ) |
Get array of mean t0's for classifier bins
Definition at line 323 of file SVDSimBase.py.
| get_t0_bounds | ( | self | ) |
Get t0 bounds of sampling space
Definition at line 236 of file SVDSimBase.py.
| get_tau_bounds | ( | self | ) |
Get tau bounds of sampling space
Definition at line 248 of file SVDSimBase.py.
| get_tau_sigma | ( | self | ) |
Get width jitter for the simulation.
Definition at line 268 of file SVDSimBase.py.
| set_tau_bounds | ( | self, | |
| tau_min, | |||
| tau_max ) |
Set width limits for the simulation.
Definition at line 254 of file SVDSimBase.py.
| set_tau_sigma | ( | self, | |
| tau_sigma ) |
Set width jitter for the simulation.
Definition at line 262 of file SVDSimBase.py.
| amp_max = amplitude_bounds |
amplitude bounds
Definition at line 224 of file SVDSimBase.py.
| amp_min |
amplitude bounds
Definition at line 224 of file SVDSimBase.py.
| bin_size = bin_size |
bin size
Definition at line 232 of file SVDSimBase.py.
| n_samples = sample_size |
sample size
Definition at line 285 of file SVDSimBase.py.
| sigma_max = sigma_bounds |
sigma bounds
Definition at line 226 of file SVDSimBase.py.
| sigma_min |
sigma bounds
Definition at line 226 of file SVDSimBase.py.
| stockdata |
stock data
Definition at line 287 of file SVDSimBase.py.
| t0_bin_times = self.stockdata['t0'].groupby(self.stockdata.t0_bin).aggregate(np.mean) |
undocumented variable
Definition at line 312 of file SVDSimBase.py.
| t0_bins = np.percentile(self.stockdata.t0, np.arange(0, 101, self.bin_size)) |
undocumented variable
Definition at line 307 of file SVDSimBase.py.
| t0_max = t0_bounds |
t0 bounds
Definition at line 220 of file SVDSimBase.py.
| t0_min |
t0 bounds
Definition at line 220 of file SVDSimBase.py.
| tau_coder = tau_encoder(amplitude_bounds, tau_bounds) |
tau encored
Definition at line 228 of file SVDSimBase.py.
| tau_max = tau_bounds |
tau bounds
Definition at line 222 of file SVDSimBase.py.
| tau_min |
tau bounds
Definition at line 222 of file SVDSimBase.py.
| tau_sigma = tau_sigma |
tau sigma
Definition at line 230 of file SVDSimBase.py.
| wf = wf |
wf ?
Definition at line 234 of file SVDSimBase.py.