neuralib.imaging.scanbox.core.sbx_to_json

neuralib.imaging.scanbox.core.sbx_to_json(matfile, output=None, verbose=True)[source]

save .mat scanbox output file as json file

Parameters:
  • matfile (str | Path | bytes | BinaryIO | BufferedIOBase | BufferedReader) – .mat filepath

  • output (Path | None) – output filepath, if None, create a json file in the same directory

  • verbose (bool) – pprint as dict

Returns:

Return type:

None