Skip to content

Make Torch optional and allow for backwards compatibility on autocovariance calculation

Danilo Enoque Ferreira de Lima requested to merge hotfix_auto_corr into main
  • Check if Torch is available. If not, just don't allow the user to take advantage of the BNN model without an import traceback.
  • Added GitLab CI/CD.
  • Avoid crash if an extra property does not exist (which allows backwards compatibility).
  • Added calculation of auto-covariance for both virtual spectrometer and grating spectrometer and reliable calculation of the resolution.
Edited by Danilo Enoque Ferreira de Lima

Merge request reports