fermi-lat / Fermitools-conda

Conda recipe files for the Fermi Sciencetools software analysis package: Fermitools
https://fermi.gsfc.nasa.gov/ssc/data/analysis/
BSD 3-Clause "New" or "Revised" License
34 stars 17 forks source link

How to use gtpphase? #148

Closed TheCriticalSpan closed 1 year ago

TheCriticalSpan commented 1 year ago

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!

TheCriticalSpan commented 1 year ago

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!