CosmoStat / wf-psf

Data-driven wavefront-based PSF modelling framework.
MIT License
19 stars 9 forks source link

Fix SimPSFToolkit import with sims module #71

Closed tobias-liaudat closed 1 year ago

tobias-liaudat commented 1 year ago

There's an import problem causing the code to fail. The sims module is missing, this PR fixes it.

jeipollack commented 1 year ago

Hi @tobias-liaudat, thanks for identifying this bug. I would like to reproduce it can you let me know what settings one needs to do to replicate this failure?

tobias-liaudat commented 1 year ago

@jeipollack if you do a clean installation in a new conda environment and then try to train the model. I used the branch refactor_configs_run. The command I used is the default one for the training:

python wf_psf/run.py -c config/configs.yaml -r $WORK/repos/refactored_wavediff/wf-psf -o $WORK/outputs/refactor_wf