Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weird bug in new psf #2

Closed
ryanvarley opened this issue Oct 21, 2015 · 0 comments
Closed

weird bug in new psf #2

ryanvarley opened this issue Oct 21, 2015 · 0 comments
Labels

Comments

@ryanvarley
Copy link
Member

Traceback (most recent call last):3 done (samp 437/447)
  File "run_visit.py", line 179, in <module>
    obs.run_observation()
  File "/Users/ryan/PythonPackages/WFC3Sim/observation.py", line 344, in run_observation
    self._generate_exposure(start_time, filenum)
  File "/Users/ryan/PythonPackages/WFC3Sim/observation.py", line 406, in _generate_exposure
    progress_bar=self.progess,
  File "/Users/ryan/PythonPackages/WFC3Sim/exposure_generator.py", line 316, in scanning_frame
    scale_factor, add_flat)
  File "/Users/ryan/PythonPackages/WFC3Sim/exposure_generator.py", line 642, in _gen_subsample
    wl_psf_std, pixel_array)
  File "/Users/ryan/PythonPackages/WFC3Sim/exposure_generator.py", line 750, in _psf_distribution
    yx = np.insert(yx, len(yx), np.zeros(yx_size - len(yx)))
ValueError: negative dimensions are not allowed

only happens sometimes, but repeatably to the same part and seems to depend on seed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant