Skip to content

Commit

Permalink
Some clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Nov 9, 2022
1 parent 5a5d23a commit 93fa0ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/imviz/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ multiple disjoint regions) are displayed, the logical operations joining them
For a simple subset in Imviz only, you can choose to recenter it based
on the selected Data. The centroid is calculated by
:attr:`photutils.aperture.ApertureStats.centroid`, which is the
center-of-mass of the data within the aperture. Click :guilabel:`Recenter`
center-of-mass of the data within the aperture.
No background subtraction is performed. Click :guilabel:`Recenter`
to change its parameters to the calculated centroid. However, the subset
will not be moved to the new center until :guilabel:`Update` is also clicked
(see below).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ def _get_value_from_subset_definition(self, index, name, desired_key):
break
return value

# FIXME: This does not update the GUI on Vue template. How to force Vue to update?
def _set_value_in_subset_definition(self, index, name, desired_key, new_value):
for i in range(len(self.subset_definitions[index])):
if self.subset_definitions[index][i]['name'] == name:
Expand Down

0 comments on commit 93fa0ed

Please sign in to comment.