stlgolfer / snewpyternary

0 stars 1 forks source link

Fornax_2019 arguments issue #16

Open stlgolfer opened 2 years ago

stlgolfer commented 2 years ago
NEW SNOwGLoBES FLUENCE TIME SERIES GENERATION
=============================
Using transform: NoTransformation
=============================
Process Process-11:
Traceback (most recent call last):
  File "/usr/lib64/python3.10/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib64/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/physics/Github/snewpy-snowglobes-ternary/meta_analysis.py", line 111, in process_transformation
    process_flux(config)
  File "/home/physics/Github/snewpy-snowglobes-ternary/meta_analysis.py", line 75, in process_flux
    flux_scatter_data,raw_data= t.create_flux_scatter(
  File "/home/physics/Github/snewpy-snowglobes-ternary/snewpyternary.py", line 396, in create_flux_scatter
    tarball_path = wrapper.w_generate_time_series(
  File "/home/physics/Github/snewpy-snowglobes-ternary/snowglobes_wrapper.py", line 154, in w_generate_time_series
    osc_spectra = snmodel.get_transformed_spectra(t, energy, flavor_transformation)
  File "/home/physics/.local/lib/python3.10/site-packages/snewpy/models/base.py", line 143, in get_transformed_spectra
    initialspectra = self.get_initial_spectra(t, E)
TypeError: Fornax_2019.get_initial_spectra() missing 2 required positional arguments: 'theta' and 'phi'
stlgolfer commented 2 years ago

After meeting on 9/9, this is angle dependency could be useful, but not for a while. This is not longer a bug, as it has been removed from the analysis table for now