original_docstring: Return the appropriate DAP type for a given numpy dtype.
  
          :param nptype: A :class:`numpy.dtpye` object
  
          :returns: A subclass of :class:`DAPAtom`
          
docstring: Return the appropriate DAP type for a given numpy dtype.
docstring_tokens: Return the appropriate DAP type for a given numpy dtype .
code: def type_from_np(cls, nptype):
          """Return the appropriate DAP type for a given numpy dtype.
  
          :param nptype: A :class:`numpy.dtpye` object
  
          :returns: A subclass of :class:`DAPAtom`
          """
          # Handle special cases first
          if nptype == np.int8:
              return Int16
          elif nptype == np.uint8:
              return Byte
          elif nptype == np.int64:
              return Int32
          elif nptype == np.uint64:
              return UInt32
          else:
              # then handle the rest
              for subclass in cls.subclasses():
                  if subclass.dtype == nptype:
                      return subclass
code_tokens: def type_from_np ( cls , nptype ) : if nptype == np . int8 : return Int16 elif nptype == np . uint8 : return Byte elif nptype == np . int64 : return Int32 elif nptype == np . uint64 : return UInt32 else : for subclass in cls . subclasses ( ) : if subclass . dtype == nptype : return subclass
short_docstring: Return the appropriate DAP type for a given numpy dtype.
short_docstring_tokens: Return the appropriate DAP type for a given numpy dtype .
comment: """Return the appropriate DAP type for a given numpy dtype.
  
          :param nptype: A :class:`numpy.dtpye` object
  
          :returns: A subclass of :class:`DAPAtom`
          """$SEP$# Handle special cases first$SEP$# then handle the rest