Skip to content

Commit

Permalink
WIP: DEV
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianna Major committed Dec 17, 2024
1 parent f0490e7 commit dadc297
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hexrdgui/llnl_import_tool_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
from hexrdgui.utils import instr_to_internal_dict, block_signals
from hexrdgui.utils.dialog import add_help_url

# FIXME: Confirm everything is correctly reset
# FIXME: Should slider be available in other views?
# FIXME: Why so slow?
# FIXME: Factor out median filter dialog for reusability


class LLNLImportToolDialog(QObject):

Expand Down Expand Up @@ -628,7 +633,7 @@ def read_in_template_bounds(self, module, file_name):
panels = create_hedm_instrument().detectors
verts = panels['default'].cartToPixel(data)
verts[:, [0, 1]] = verts[:, [1, 0]]
return verts
return verts * 0.5

def add_template(self):
if (
Expand Down

0 comments on commit dadc297

Please sign in to comment.