Closed yxqd closed 2 years ago
@mtbc For testing the new component, I refactored the instrument_factory
module in tests/components/optics/
. The majority of your code for instrument_factory was moved to the mcvine.acc.test.instrument_factory
module, but some code specific for testing guides are left in tests/components/optics/
. Please check.
@mtbc I also moved the test_helper module to mcvine.acc.test.compare_acc_nonacc
and made it a bit more customizable
@mtbc Could you please check the revisions to mcvine.acc.test and tests in tests/components/optics? This PR seems ready for merge. Thanks.
This is first attempt to implement a sample component. This is not a generic component that supports various shapes and kernels, but a simple one that has a box shape and an isotropic kernel.