parameters: (self, name, xye, num_spec, vert_axis, is_zp_ws=False)
docstring: Creates a workspace from FORTRAN data
  
          @param name         :: Full name of outputworkspace
          @param xye          :: List of axis data [x, y , e]
          @param num_spec     :: Number of spectra
          @param vert_axis    :: The values on the vertical axis
          @param is_zp_ws     :: Creating a zp_ws (if True)
docstring_summary: Creates a workspace from FORTRAN data
docstring_tokens: Creates a workspace from FORTRAN data
function: def _create_workspace(self, name, xye, num_spec, vert_axis, is_zp_ws=False):
          """
          Creates a workspace from FORTRAN data
  
          @param name         :: Full name of outputworkspace
          @param xye          :: List of axis data [x, y , e]
          @param num_spec     :: Number of spectra
          @param vert_axis    :: The values on the vertical axis
          @param is_zp_ws     :: Creating a zp_ws (if True)
          """
  
          unit_x = ''
          if is_zp_ws:
              unit_x = 'MomentumTransfer'
  
          ws = s_api.CreateWorkspace(OutputWorkspace=name,
                                     DataX=xye[0], DataY=xye[1], DataE=xye[2],
                                     Nspec=num_spec, UnitX=unit_x,
                                     VerticalAxisUnit='MomentumTransfer',
                                     VerticalAxisValues=vert_axis)
  
          unitx = ws.getAxis(0).setUnit("Label")
          if is_zp_ws:
              unity = ws.getAxis(1).setUnit("Label")
              unitx.setLabel('beta', '')
              unity.setLabel('sigma', '')
          else:
              if name[-4:] == 'Beta':
                  unitx.setLabel('beta', '')
              else:
                  unitx.setLabel('sigma', '')
function_tokens: def _create_workspace ( self , name , xye , num_spec , vert_axis , is_zp_ws = False ) : unit_x = '' if is_zp_ws : unit_x = 'MomentumTransfer' ws = s_api . CreateWorkspace ( OutputWorkspace = name , DataX = xye [ 0 ] , DataY = xye [ 1 ] , DataE = xye [ 2 ] , Nspec = num_spec , UnitX = unit_x , VerticalAxisUnit = 'MomentumTransfer' , VerticalAxisValues = vert_axis ) unitx = ws . getAxis ( 0 ) . setUnit ( "Label" ) if is_zp_ws : unity = ws . getAxis ( 1 ) . setUnit ( "Label" ) unitx . setLabel ( 'beta' , '' ) unity . setLabel ( 'sigma' , '' ) else : if name [ - 4 : ] == 'Beta' : unitx . setLabel ( 'beta' , '' ) else : unitx . setLabel ( 'sigma' , '' )