original_docstring: 
          searchByDomain() [public]
          Purpose:    Search for station information in a given domain. 
          Parameters: map [type=Basemap]
                          A Basemap object corresponding to a domain in which to search for stations.
          Returns:    The station information for stations inside the given domain.
          
docstring: searchByDomain() [public]
  Purpose:    Search for station information in a given domain.
  Parameters: map [type=Basemap]
  A Basemap object corresponding to a domain in which to search for stations.
  Returns:    The station information for stations inside the given domain.
docstring_tokens: searchByDomain () [ public ] Purpose : Search for station information in a given domain . Parameters : map [ type = Basemap ] A Basemap object corresponding to a domain in which to search for stations . Returns : The station information for stations inside the given domain .
code: def searchByDomain(self, map):
          """
          searchByDomain() [public]
          Purpose:    Search for station information in a given domain. 
          Parameters: map [type=Basemap]
                          A Basemap object corresponding to a domain in which to search for stations.
          Returns:    The station information for stations inside the given domain.
          """
          stn_lats = np.array([ stn['Latitude'] for stn in self._stations ])
          stn_lons = np.array([ stn['Longitude'] for stn in self._stations ])
  
          ll_corner_x, ll_corner_y = map(map.llcrnrlon, map.llcrnrlat)
          ur_corner_x, ur_corner_y = map(map.urcrnrlon, map.urcrnrlat)
  
          stn_xs, stn_ys = map(stn_lons, stn_lats)
  
          idxs = np.where((ll_corner_x < stn_xs) & (stn_xs < ur_corner_x) & (ll_corner_y < stn_ys) & (stn_ys < ur_corner_y))
          return [ self._stations[idx] for idx in idxs[0] ]
code_tokens: def searchByDomain ( self , map ) : stn_lats = np . array ( [ stn [ 'Latitude' ] for stn in self . _stations ] ) stn_lons = np . array ( [ stn [ 'Longitude' ] for stn in self . _stations ] ) ll_corner_x , ll_corner_y = map ( map . llcrnrlon , map . llcrnrlat ) ur_corner_x , ur_corner_y = map ( map . urcrnrlon , map . urcrnrlat ) stn_xs , stn_ys = map ( stn_lons , stn_lats ) idxs = np . where ( ( ll_corner_x < stn_xs ) & ( stn_xs < ur_corner_x ) & ( ll_corner_y < stn_ys ) & ( stn_ys < ur_corner_y ) ) return [ self . _stations [ idx ] for idx in idxs [ 0 ] ]
short_docstring: searchByDomain() [public]
  Purpose:    Search for station information in a given domain.
short_docstring_tokens: searchByDomain () [ public ] Purpose : Search for station information in a given domain .
comment: """
          searchByDomain() [public]
          Purpose:    Search for station information in a given domain. 
          Parameters: map [type=Basemap]
                          A Basemap object corresponding to a domain in which to search for stations.
          Returns:    The station information for stations inside the given domain.
          """