parameters: (path: Path)
docstring: Load a simulator setup from a file.
docstring_summary: Load a simulator setup from a file.
docstring_tokens: Load a simulator setup from a file .
function: def load_simulator_setup(path: Path) -> SimulatorSetup:
      """Load a simulator setup from a file."""
      with path.open() as f:
          obj = json.load(f)
          return SimulatorSetup(
              **{k: _prepare_for_simulator_setup(k, v) for (k, v) in obj.items()}
          )
function_tokens: def load_simulator_setup ( path : Path ) -> SimulatorSetup : with path . open ( ) as f : obj = json . load ( f ) return SimulatorSetup ( * * { k : _prepare_for_simulator_setup ( k , v ) for ( k , v ) in obj . items ( ) } )