-
Notifications
You must be signed in to change notification settings - Fork 101
How To
Anne Archibald edited this page Jul 11, 2022
·
24 revisions
Quick solutions to common tasks (taken from #pint and elsewhere). It's also worth checking the PINT HOWTOs, particularly as some things that used to be here were moved there.
The data files (par and tim) associated with the tutorials and other examples can be located via pint.config.examplefile()
(available via the pint.config
module):
import pint.config
fullfilename = pint.config.examplefile(filename)
For example, the file NGC6440E.par
from the Time a Pulsar notebook can be found via:
import pint
fullfilename = pint.config.examplefile("NGC6440E.par")