parameters: (self, inputs)
docstring: inputs is a dict mapping filepaths to output names
docstring_summary: inputs is a dict mapping filepaths to output names
docstring_tokens: inputs is a dict mapping filepaths to output names
function: def format_workspace(self, inputs):
          """ inputs is a dict mapping filepaths to output names """
          for path, output in inputs.items():
              workspace = LoadAscii(path, OutputWorkspace=output)
              workspace.setE(0, np.sqrt(workspace.dataY(0)))
              workspace.getAxis(0).setUnit("Label").setLabel("Energy", "keV")
function_tokens: def format_workspace ( self , inputs ) : for path , output in inputs . items ( ) : workspace = LoadAscii ( path , OutputWorkspace = output ) workspace . setE ( 0 , np . sqrt ( workspace . dataY ( 0 ) ) ) workspace . getAxis ( 0 ) . setUnit ( "Label" ) . setLabel ( "Energy" , "keV" )