fermi-lat/Fermitools-conda

How to use gtpphase?

Closed this issue · 1 comments

Hey everyone!
So it's my first time trying to make a pulsar phase folded light curve with fermipy. I've already ran gta.setup on my event and SC files, so I already have the necessary ft1_00.fits file. I've also already performed a fit for relevant sources in my ROI. I know in order to bin events from a pulsar source I need to use gtpphase, providing the event and SC files as well as a pulsar ephemeris for the timing model and barycentric correction. The thing is I can't find any tutorial on how to actually write out a command that uses gtpphase and I've been trying to figure it out on my own with no success. Would anyone mind telling me how I should be writing the line that executes gtpphase in my code? Thanks in advance!

Nevermind everyone, apparently calling the command in the terminal works. Was a bit confused since I was working on my code on jupyter lab. Thanks regardless though!