I'm following the code in example (4) in the header of 'vis_sample.py', to save the GCF_holder and corr_cache after running 1 model, and then trying to use them again in a subsequent call for a different model. The 1st vis_sample call (with return_gcf=True, return_corr_cache=True) works perfectly. But the 2nd call (providing the gcf_holder and corr_cache as keywords) fails at line 197. The reason is that the code wants to ascertain the frequency spacings before interpolation, but as far as I can tell from the code, it has not yet bothered to extract frequency information from the gcf_holder.
I'm following the code in example (4) in the header of 'vis_sample.py', to save the GCF_holder and corr_cache after running 1 model, and then trying to use them again in a subsequent call for a different model. The 1st vis_sample call (with return_gcf=True, return_corr_cache=True) works perfectly. But the 2nd call (providing the gcf_holder and corr_cache as keywords) fails at line 197. The reason is that the code wants to ascertain the frequency spacings before interpolation, but as far as I can tell from the code, it has not yet bothered to extract frequency information from the gcf_holder.