Issue in QPO phase lag function implementation

Aperta
#702 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
data

Direzione di ricerca

Inizia da spectroscopy.py intorno alla riga 375 e confronta l’equazione del ritardo di fase implementata con gli articoli citati di Ingram del 2015 e del 2016. Riproduci la differenza della forma d’onda riportata per le due formule, quindi chiedi ai maintainer di chiarire quale interpretazione sia prevista. Il lavoro è completato quando la decisione sull’implementazione è stata risolta e il comportamento richiesto dall’issue è chiaramente documentato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I was reading up the paper Ingram 2016, where the formula for finding the phase offsets of the first two harmonics of a QPO (for some energy band E), was given as:
$\phi_1 (E) = \phi_1+ \Delta_1(E)$ ,
$\phi_2 (E) = 2(\phi_1 + \psi) + \Delta_2(E)$ ,
In our implementation in stingray, we are using a different formulae which replaces the second equation with $\phi_2 (E) = 2(\phi_1 (E) + \psi) + \Delta_2(E)$ ,
this was the equation given in the paper Ingram 2015 , but it is claimed in Ingram 2016 (page 4), that there is a mistake in the Ingram 2015 paper's equation.

@matteobachetti , @dhuppenkothen, please look into it and clarify if it is an error or a deliberate implementation decision.

This is implemented in spectroscopy.py. I have tested the code for the new equation and it produces significantly different waveforms than the current implementation.

Lingua principale
Python
Stelle
229
Fork
196
Merge medio
4g 12h
PR unite (30g)
20

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di StingraySoftware/stingray

Tutte le issue di StingraySoftware/stingray

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.