-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FERMI LAT data analysis using fermipy #561
Comments
I am doing FERMI LAT data analysis using fermipy. Recently i had to reinstall fermipy. However, after the installation, I encounter the following error message after running the analysis script. File "/home/dell/Documents/1H1914-194/xx.py", line 3, in The analysis script is given below. from fermipy.gtanalysis import GTAnalysis Please help me solve this issue. Thanks in advance |
Have you tried installing the astropy using conda after activating the conda environment for fermipy? Also, try installing astropy with pip. Hopefully that should work. -Ayush |
I reinstalled fermipy using the code below:
mamba create --name fermipy -c conda-forge -c fermi python=3.9
"fermitools>=2.2.0" healpy numpy=1.20 astropy=5.1 gammapy=0.20
mamba activate fermipy
pip install fermipy
Now, everything works fine.
Thanks for the reply.
…On Fri, 12 Jan, 2024, 12:04 pm nyctophile-aayu, ***@***.***> wrote:
@NithyaSathyan <https://github.com/NithyaSathyan>
Have you tried installing the astropy using conda after activating the
conda environment for fermipy? Also, try installing astropy with pip.
Hopefully that should work.
-Ayush
—
Reply to this email directly, view it on GitHub
<#561 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BE6FP4IGK5ROSXZOUJGOYKDYODKPVAVCNFSM6AAAAABBKD7PESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBYGUYDSNBSGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hii..
I can see data points with TS (Test Statistic) values less than 10 after
running the analysis using an analysis script with the line
gta.free_sources(minmax_ts=[10,None],pars='norm').
Why is it so?
On Fri, Jan 12, 2024 at 12:16 PM NITHYA SATHYAN ***@***.***>
wrote:
… I reinstalled fermipy using the code below:
mamba create --name fermipy -c conda-forge -c fermi python=3.9
"fermitools>=2.2.0" healpy numpy=1.20 astropy=5.1 gammapy=0.20
mamba activate fermipy
pip install fermipy
Now, everything works fine.
Thanks for the reply.
On Fri, 12 Jan, 2024, 12:04 pm nyctophile-aayu, ***@***.***>
wrote:
> @NithyaSathyan <https://github.com/NithyaSathyan>
>
> Have you tried installing the astropy using conda after activating the
> conda environment for fermipy? Also, try installing astropy with pip.
> Hopefully that should work.
>
> -Ayush
>
> —
> Reply to this email directly, view it on GitHub
> <#561 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BE6FP4IGK5ROSXZOUJGOYKDYODKPVAVCNFSM6AAAAABBKD7PESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBYGUYDSNBSGQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
The minmax_ts option in gta.free_sources is used to free the sources in the ROI with TS>10, not to set a minimum threshold for datapoint/upper limits. |
Data Analysis Question
How do I...
Not sure if a certain command exists in fermipy or how to use it? Looking for examples or best practices? Ask here!
To reproduce
Please let us know which data file, instrument response function etc. you are using, and include your model(s) and analysis script.
The text was updated successfully, but these errors were encountered: