ExamCache.set#
- ExamCache.set()[source]#
Store an artifact and return it, disposing the value it replaces.
A key should identify everything the artifact depends on – geometry, coil configuration, trajectory, calibration settings: sharing an exam does not make sensitivity maps interchangeable.
- Parameters:
cleanup – Called with the value when it is disposed, instead of its
close().