MuonDataLib API documentation: load_events ============================================ `data.loader.load_events`.load_events -------------------------------------- A method to load a muon event NeXus file into a MuonData object **Required Parameters:** - `file_name`: The name of the event NeXus file to read. - `N`: The number of expected spectra for the file. **Returns:** A MuonData object, containing the data from the NeXus file **Example:** .. code:: python from MuonDataLib.data.loader.load_events import load_events data = load_events("HIFI00001.nxs", 64)