Hello,
I tried using Simstack and ran into an error when trying to parse the results of the test data. The stacking was successful but I can't figure out how to extract the data from the pickle. I used the code from the notebook to estimate and save values and here was the error:
(simstack) C:\Users\stani\OneDrive\Bureau\Universite\3rd_year_project\stack\simstack3main>python estimate_and_save_values.py
<IPython.core.display.HTML object>
15000-3000-3sigma_mixed_prior
C:\Users\stani\OneDrive\Bureau\Universite\3rd_year_project\stack\simstack3main\pickles\test_stack_nuvrj_1_1p5_2_2p5_3_4p0_X_4_foregnd_atonce_bootstrap_1-5
Traceback (most recent call last):
File "C:\Users\stani\OneDrive\Bureau\Universite\3rd_year_project\stack\simstack3main\estimate_and_save_values.py", line 52, in
simstack_object.parse_results(catalog_object=simstack_catalog_object, estimate_mcmcs=False)
File "C:\Users\stani\OneDrive\Bureau\Universite\3rd_year_project\stack\simstack3main\simstackresults.py", line 28, in parse_results
self.results_dict['bootstrap_results_dict'] = self.populate_results_dict()
File "C:\Users\stani\OneDrive\Bureau\Universite\3rd_year_project\stack\simstack3main\simstackresults.py", line 462, in populate_results_dict
sf_sed_array[:, iwv, :] = boot_dict[wv][:, :, :, 1]
IndexError: too many indices for array: array is 3-dimensional, but 4 were indexed
Thanks in advance!
Hello,
I tried using Simstack and ran into an error when trying to parse the results of the test data. The stacking was successful but I can't figure out how to extract the data from the pickle. I used the code from the notebook to estimate and save values and here was the error:
(simstack) C:\Users\stani\OneDrive\Bureau\Universite\3rd_year_project\stack\simstack3main>python estimate_and_save_values.py
<IPython.core.display.HTML object>
15000-3000-3sigma_mixed_prior
C:\Users\stani\OneDrive\Bureau\Universite\3rd_year_project\stack\simstack3main\pickles\test_stack_nuvrj_1_1p5_2_2p5_3_4p0_X_4_foregnd_atonce_bootstrap_1-5
Traceback (most recent call last):
File "C:\Users\stani\OneDrive\Bureau\Universite\3rd_year_project\stack\simstack3main\estimate_and_save_values.py", line 52, in
simstack_object.parse_results(catalog_object=simstack_catalog_object, estimate_mcmcs=False)
File "C:\Users\stani\OneDrive\Bureau\Universite\3rd_year_project\stack\simstack3main\simstackresults.py", line 28, in parse_results
self.results_dict['bootstrap_results_dict'] = self.populate_results_dict()
File "C:\Users\stani\OneDrive\Bureau\Universite\3rd_year_project\stack\simstack3main\simstackresults.py", line 462, in populate_results_dict
sf_sed_array[:, iwv, :] = boot_dict[wv][:, :, :, 1]
IndexError: too many indices for array: array is 3-dimensional, but 4 were indexed
Thanks in advance!