Skip to content

.xcm file for Xspec to fit simultaneously two power spectra in two energy bands and the real and imaginary parts of the cross spetrum of those same two bands.

License

Notifications You must be signed in to change notification settings

figante/multi-lorentzian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Here you'll find two .xcm files for Xspec to fit simultaneously:

Power spectrum band 1 (PS1)
Power spectrum band 2 (PS2)
Real part of the cross spectrum of band 1 vs. band 2 (RE)
Imaginary part of the cross spectrum of band 1 vs. band 2 (IM)

The .xcm file for the constant phase-lags model uses a linear combination of Lorentzians to fit PS1 and PS2 and a combination of Lorentzians multiplied by the cosine (sine) of a parameter (the phase lag) to fit the RE (IM) part of the cross spectrum.

The .xcm file for the constant time-lags model uses a linear combination of Lorentzians to fit PS1 and PS2 and a combination of Lorentzians multiplied by the cosine (sine) of a parameter (the time lag) times 2 \pi the frequency (in Xspec the energy) to fit the RE (IM) part of the cross spectrum.

Both .xcm files also read the phase-lag (PL) spectrum and the coherence function (CF)
and compute the derived model of these two on the basis of the model fitted to
PS1, PS2, RE and IM.

See for Mendez et al. 2024 for details

About

.xcm file for Xspec to fit simultaneously two power spectra in two energy bands and the real and imaginary parts of the cross spetrum of those same two bands.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published