expelliarmus.wizard.wizard_wrapper#

Module Contents#

Functions#

c_read_wrapper(encoding, fpath, buff_size)

c_save_wrapper(encoding, fpath, arr, buff_size)

c_read_time_window_wrapper(encoding, fpath, cargo, ...)

c_read_chunk_wrapper(encoding, fpath, cargo, buff_size)

c_cut_wrapper(encoding, fpath_in, fpath_out, ...)

expelliarmus.wizard.wizard_wrapper.c_read_wrapper(encoding: str, fpath: Union[str, pathlib.Path], buff_size: int)[source]#
Parameters
  • encoding (str) –

  • fpath (Union[str, pathlib.Path]) –

  • buff_size (int) –

expelliarmus.wizard.wizard_wrapper.c_save_wrapper(encoding: str, fpath: Union[str, pathlib.Path], arr: numpy.ndarray, buff_size: int)[source]#
Parameters
  • encoding (str) –

  • fpath (Union[str, pathlib.Path]) –

  • arr (numpy.ndarray) –

  • buff_size (int) –

expelliarmus.wizard.wizard_wrapper.c_read_time_window_wrapper(encoding: str, fpath: Union[str, pathlib.Path], cargo: Union[expelliarmus.wizard.clib.dat_cargo_t, expelliarmus.wizard.clib.evt2_cargo_t, expelliarmus.wizard.clib.evt3_cargo_t], buff_size: int)[source]#
Parameters
expelliarmus.wizard.wizard_wrapper.c_read_chunk_wrapper(encoding: str, fpath: Union[str, pathlib.Path], cargo: Union[expelliarmus.wizard.clib.dat_cargo_t, expelliarmus.wizard.clib.evt2_cargo_t, expelliarmus.wizard.clib.evt3_cargo_t], buff_size: int)[source]#
Parameters
expelliarmus.wizard.wizard_wrapper.c_cut_wrapper(encoding: str, fpath_in: Union[str, pathlib.Path], fpath_out: Union[str, pathlib.Path], new_duration: int, buff_size: int)[source]#
Parameters
  • encoding (str) –

  • fpath_in (Union[str, pathlib.Path]) –

  • fpath_out (Union[str, pathlib.Path]) –

  • new_duration (int) –

  • buff_size (int) –