Initialize the data to build a summed flux spectrum for a collection of stars using the models of Bruzual & Charlot (2003). This function loads the necessary data tables into memory and must be called before analyzing any star particles.
Parameters : | pf : EnzoStaticOutput object bcdir : String
model : String
|
---|
Examples
>>> pf = load("RedshiftOutput0000")
>>> spec = SpectrumBuilder(pf, "/home/user/bc/", model="salpeter")