Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/p/y/pysynphot-0.9.5/pysynphot/catalog.py   pysynphot(Download)
import locations
 
from Cache import CATALOG_CACHE
 
import pysynphot.exceptions as exceptions
        self.name="%s(Teff=%g,z=%g,logG=%g)"%(catdir,Teff,metallicity,log_g)
 
        if filename in CATALOG_CACHE:
            indices = CATALOG_CACHE[filename]
        else:
            indices = self._getArgs(indexList, filenameList)
 
            CATALOG_CACHE[filename] = indices
 
        list0,list1 = self._breakList(indices, 0, Teff)