CADETProcess.simulator.Cadet.check_cadet

CADETProcess.simulator.Cadet.check_cadet#

Cadet.check_cadet()[source]#

Check if CADET installation can run a basic LWE example.

Returns:
bool

True if the test simulation completed successfully, False otherwise.

Raises:
CADETProcessError

If the simulation fails, an exception is raised with the error message.

Notes

This method tests the CADET installation by executing a basic LWE (Load, Wash, Elute) example. It creates a CADET model using the LWE data stored in an HDF5 file and runs the simulation. After the simulation, it checks the return code to determine if the test was successful.