Skip to content

Commit

Permalink
add pixel scale factor to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
gibsongreen committed Mar 13, 2024
1 parent 4907826 commit c43939e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ def _update_mark_scale(self, *args):
self.aperture.scale_factor = 1.0
else:
self.aperture.scale_factor = self.slice_wavelength/self.reference_wavelength

self.app._metadata['_pixel_scale_factor'] = self.aperture.scale_factor

if not self.bg_wavelength_dependent:
self.background.scale_factor = 1.0
else:
Expand Down

0 comments on commit c43939e

Please sign in to comment.