Skip to content

Commit

Permalink
Only reestimate if spectral y type isn't SB
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Sep 13, 2024
1 parent 92902b9 commit b804c4d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@ def _cube_fit_changed(self, event={}):
self.dataset.remove_filter('is_flux_cube')

self.dataset._clear_cache()
self.reestimate_model_parameters()
if uc.spectral_y_type != "Surface Brightness":
self.reestimate_model_parameters()

@observe("dataset_selected")
def _dataset_selected_changed(self, event=None):
Expand Down

0 comments on commit b804c4d

Please # to comment.