generate_dataset
grb_trigger.dataset.generate_dataset(n_orbits=50, n_bins=1000)Simulate n_orbits separate CubeSat orbits in a loop, where each orbit generates its own X_orbit and y_orbit with length (n_bins - background_bins_number - foreground_bins_number + 1).
Parameters
n_orbitsint, default 50-
Number of separate orbits to simulate.
n_binsint, default 1000-
Number of bins in an orbit, each bin is a photon count recording.
Returns
X_orbitnumpy.ndarray (n, 7)-
The feature matrix compiled with the results of the simulation module
y_orbitnumpy.ndarray (n, )-
The target array with the information returned by generate_labels
Notes
Each orbit has a signal with length n_bins.
The length each orbit signal after applying the background
and foreground cuts (length of the output) n = n_bins - background_bins_number - foreground_bins_number + 1.