Hi Alec,
I encountered the same problem as weixinl while running your code.
When running file Fock_prep_ECD and Cat_prep_ECD, the analysis section will report an error, prompting me 'Unable to synchronously open object (object' alpha 'doesn't exist)' .
It seems that the analysis function once called alphas and performed related operations, but when removing the alphas parameter later, the analysis function was not modified, causing it to be unable to find the variables that should be processed.
Looking forward to your explanation.