Skip to content

Commit

Permalink
Comment out including the upper pixel coordinates in the stamp tables…
Browse files Browse the repository at this point in the history
…. These may not be correct after pruning is applied and are not needed to recreate the cutouts
  • Loading branch information
e-koch committed Aug 28, 2024
1 parent a2b5bbb commit f6ca55e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions fil_finder/filament.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,9 +1161,9 @@ def plot_radial_profile(self,
ax : `~matplotlib.axes`, optional
Use an existing set of axes to plot the profile.
save_name : str, optional
Name of saved plot. A plot is only saved if a name is given.
Name of saved plot. A plot is only saved if a name is given.
show_plot : bool, optional
Display open figure.
Display open figure.
xunit : `~astropy.units.Unit`, optional
Pixel, angular, or physical unit to convert to.
'''
Expand Down Expand Up @@ -1199,10 +1199,10 @@ def plot_radial_profile(self,
plt.savefig(save_name)
if not show_plot:
plt.close()

if show_plot:
plt.show()

if in_ipynb():
plt.clf()

Expand Down Expand Up @@ -1558,9 +1558,9 @@ def save_fits(self, savename, image,
tab.add_column(Column([self.pixel_extents[0][0],
self.pixel_extents[1][0]],
name='lower_coord'))
tab.add_column(Column([self.pixel_extents[0][1],
self.pixel_extents[1][1]],
name='upper_coord'))
# tab.add_column(Column([self.pixel_extents[0][1],
# self.pixel_extents[1][1]],
# name='upper_coord'))


# Strip off units if the image is a Quantity
Expand Down

0 comments on commit f6ca55e

Please sign in to comment.