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

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

src/s/e/SEDFitting-HEAD/python/anased.py   SEDFitting(Download)
def test_specs():
	osl = stellib.BaSeL()
	oAv = extinction.Cardelli()
	#fake DATA
	#fakein  = 2000 # random between 0 & 4523, no idea what this is :p
def getFake(g, Av0=1., Rv0=3.1, err=0.1):
	oAv      = extinction.Cardelli()
	#idx      = g.grid.where('(logT >= 3.6) & (logT <= 3.8) & (logg >= 4.5) & (logg <= 4.7) & (Z == 0.02)')
	idx      = g.grid.where('(logT >= 3.95) & (logT <= 4.05) & (logg >= 1.85) & (logg <= 1.95) ')
	lamb     = g.lamb
 
	#osl = stellib.BaSeL()
	oAv = extinction.Cardelli()
	g = grid.FileSpectralGrid('libs/SEDs_basel_padovaiso.fits')
	lamb = g.lamb#*1e6