Example #1
0
io_functions.span_window()

################################################################################
#### Continuum normalization with GISIC
spec_batch.normalize()

################################################################################
#### Preliminaries
spec_batch.set_KP_bounds()
spec_batch.set_carbon_mode()

spec_batch.estimate_sn()
spec_batch.ebv_correction()

################################################################################
#### Main procedures
spec_batch.calibrate_temperatures()

spec_batch.archetype_classification()

spec_batch.mcmc_determination(pool=20)

################################################################################
##### generate output files
spec_batch.generate_synthetic()
spec_batch.generate_plots()
spec_batch.generate_output_files()

print("The total time for this CASPER run is {:.2f}s".format(time.time()-start_time))