hqs_nmr.solver.solver
Solvers module.
Functions
| 
 | Register a new frequency solver. | 
Classes
| 
 | Callable protocol for NMRCOSYSolvers in omega. | 
| 
 | Callable protocol for NMRSolvers in omega. | 
- class hqs_nmr.solver.solver.NMRSolver(*args, **kwargs)
- Callable protocol for NMRSolvers in omega. - __init__(*args, **kwargs)
 - _abc_impl = <_abc._abc_data object>
 - _is_protocol = True
 - _is_runtime_protocol = True
 
- class hqs_nmr.solver.solver.NMRCOSYSolver(*args, **kwargs)
- Callable protocol for NMRCOSYSolvers in omega. - __init__(*args, **kwargs)
 - _abc_impl = <_abc._abc_data object>
 - _is_protocol = True
 - _is_runtime_protocol = True
 
- hqs_nmr.solver.solver.register_frequency_solver(name: str, solver: Any, protocol: Any, dictionary: Dict[str, Any]) None
- Register a new frequency solver. - Parameters:
- name – The name (key) for the new solver 
- solver – A callable implementing a solver. 
- protocol – Protocol that has to be followed. 
- dictionary – Dictionary to which to add the solver. 
 
- Raises:
- KeyError – Name exists already. 
- TypeError – The callable does not implement the solver protocol.