parameters: (output, usemask=True, asrecarray=False)
return_statement: return output
docstring: Private function: return a recarray, a ndarray, a MaskedArray
      or a MaskedRecords depending on the input parameters
docstring_summary: Private function: return a recarray, a ndarray, a MaskedArray
      or a MaskedRecords depending on the input parameters
docstring_tokens: Private function : return a recarray a ndarray a MaskedArray or a MaskedRecords depending on the input parameters
function: def _fix_output(output, usemask=True, asrecarray=False):
      """
      Private function: return a recarray, a ndarray, a MaskedArray
      or a MaskedRecords depending on the input parameters
      """
      if not isinstance(output, MaskedArray):
          usemask = False
      if usemask:
          if asrecarray:
              output = output.view(MaskedRecords)
      else:
          output = ma.filled(output)
          if asrecarray:
              output = output.view(recarray)
      return output
function_tokens: def _fix_output ( output , usemask = True , asrecarray = False ) : if not isinstance ( output , MaskedArray ) : usemask = False if usemask : if asrecarray : output = output . view ( MaskedRecords ) else : output = ma . filled ( output ) if asrecarray : output = output . view ( recarray ) return output