pacman.utilities.file_format_converters package

Submodules

pacman.utilities.file_format_converters.convert_to_java_machine module

class pacman.utilities.file_format_converters.convert_to_java_machine.ConvertToJavaMachine[source]

Bases: object

Converter from memory machine to java machine

static do_convert(machine, file_path, progress=None)[source]

Runs the code to write the machine in Java readable JSON.

Parameters:
  • machine (spinn_machine.machine.Machine) – Machine to convert
  • file_path (str) – Location to write file to. Warning will overwrite!

Module contents

class pacman.utilities.file_format_converters.ConvertToJavaMachine[source]

Bases: object

Converter from memory machine to java machine

static do_convert(machine, file_path, progress=None)[source]

Runs the code to write the machine in Java readable JSON.

Parameters:
  • machine (spinn_machine.machine.Machine) – Machine to convert
  • file_path (str) – Location to write file to. Warning will overwrite!