1) Is it possible to insert a simple morphology model e.g a Gaussian2D instead?
target = Target( name=source.data['Source_Name'], # from the 3FGL catalogue source class model=source.spectral_model,)
CTAObservationSimulation.simulate_obs(perf, target, obs_param)---> returns SpectrumObservationAnd SpectrumObservation is "1D spectral analysis storage class".
--
You received this message because you are subscribed to the Google Groups "gammapy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gammapy+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/gammapy.
For more options, visit https://groups.google.com/d/optout.
On 26. Mar 2018, at 15:49, Gaia Verna <gver...@gmail.com> wrote:
Dear all,
I'm trying to simulate for CTA a source (its Spectrum and its Morphology) and I would like to visualize the result on a excess-SkyImage:
I found this example http://docs.gammapy.org/dev/notebooks/cta_simulation.html.
If I have understood:
- The morphological information about target is given calling a specific source from the 3FGL catalogue:1) Is it possible to insert a simple morphology model e.g a Gaussian2D instead?
target = Target( name=source.data['Source_Name'], # from the 3FGL catalogue source class model=source.spectral_model,)
- The final result of the exercise is a study in the energy domain of the simulated counts:CTAObservationSimulation.simulate_obs(perf, target, obs_param)---> returns SpectrumObservationAnd SpectrumObservation is "1D spectral analysis storage class".
2) Is it possible to find a way to obtain an excess-SkyImage or something containing both spectral and morphological informations of the simulated source?
Best regards
Gaia--
You received this message because you are subscribed to the Google Groups "gammapy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gammapy+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/gammapy.
For more options, visit https://groups.google.com/d/optout.
Hi Gaia,the code you mention is only to simulate 1D spectra.To also simulate source morphology, the way to do it is to simulate 3D sky cubes (with an energy axis).It’s possible to script this together now with a ~ 100 line Python script, and some people have done that.But we don’t have this properly implemented in Gammapy yet.I’ve made an issue as a reminder to make this a development priority for us in Gammapy:You can “watch” that issue for updates if you have a Github account, or we’ll also mention updates here on this mailing list as part of release notes for the next Gammapy version (in ~ 1 month).Christoph
--
You received this message because you are subscribed to a topic in the Google Groups "gammapy" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gammapy/ZBg1hc0Mj-A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gammapy+unsubscribe@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "gammapy" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gammapy/ZBg1hc0Mj-A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gammapy+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gammapy+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/gammapy.
For more options, visit https://groups.google.com/d/optout.
Hi Gaia,the code you mention is only to simulate 1D spectra.To also simulate source morphology, the way to do it is to simulate 3D sky cubes (with an energy axis).It’s possible to script this together now with a ~ 100 line Python script, and some people have done that.But we don’t have this properly implemented in Gammapy yet.I’ve made an issue as a reminder to make this a development priority for us in Gammapy:You can “watch” that issue for updates if you have a Github account, or we’ll also mention updates here on this mailing list as part of release notes for the next Gammapy version (in ~ 1 month).Christoph
--
You received this message because you are subscribed to a topic in the Google Groups "gammapy" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gammapy/ZBg1hc0Mj-A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gammapy+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gammapy+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/gammapy.
For more options, visit https://groups.google.com/d/optout.
Hi Gaia,the code you mention is only to simulate 1D spectra.To also simulate source morphology, the way to do it is to simulate 3D sky cubes (with an energy axis).It’s possible to script this together now with a ~ 100 line Python script, and some people have done that.But we don’t have this properly implemented in Gammapy yet.I’ve made an issue as a reminder to make this a development priority for us in Gammapy:You can “watch” that issue for updates if you have a Github account, or we’ll also mention updates here on this mailing list as part of release notes for the next Gammapy version (in ~ 1 month).Christoph
--
You received this message because you are subscribed to a topic in the Google Groups "gammapy" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gammapy/ZBg1hc0Mj-A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gammapy+u...@googlegroups.com.