To find and download HEASARC data in the cloud, you can use astroquery.heasarc or download our new tool, hark.
The HEASARC and NuSTAR teams are greatly saddened by the sudden passing of Katja Pottschmidt. Most recently Katja was the lead scientist for the NuSTAR Guest Observer Facility (GOF), a role she had supported for many years. During her science career she worked on many other high energy astrophysics missions and played an integral role in advancing our knowledge of the universe. She was a wonderful colleague and friend and will be keenly missed by all who knew her.
lrt
likelihood ratio test between two models
Tcl script to perform a likelihood ratio test between two models.
Syntax: lrt <niter><model0_name><model1_name>[<filename>]
Runs <niter> simulations of datasets based on <model0_name>, calculates the likelihood ratio for <model1_name> relative to <model0_name> (calculated by the statistic for <model0_name> minus the statistic for <model1_name>), and outputs the fraction of iterations with the likelihood ratio smaller than that for the data. If the optional filename is given then the simulation results are written to the file. The first line of the file contains the results for the data, the other lines the simulations. Each line comprises the statistic values for <model0_name>, the statistic value for <model1_name>, and the difference.
Before running this procedure you must have created command files called
<model0_name>.xcm and <model1_name>.xcm which define the
two models. A good way to do this is to set up the model then use save
model to make the command file.