Support #3071

define a custom spectral model

Added by Nigro Cosimo over 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:11/22/2019
Priority:NormalDue date:
Assigned To:-% Done:

100%

Category:-
Target version:-
Tags: spectra model
Duration:

Description

Hello,

reading through the spectral components available in ctools
http://cta.irap.omp.eu/ctools/users/user_manual/models_spectral.html
it seems that it is not possible to use a custom model.

What is available in this direction is just a Composite model assembled from the predefined models or a FileFunction that can only be scaled in amplitude.

As I am trying to reproduce some results from a paper I’d like to have a way to plug the exact same models in the likelihood analysis.
More specifically I would like to have a LogParabola with log10(E / E_0) in the second spectral index and a LogParabola with an exponential cutoff.

What would be the way to proceed?

Thanks for the support.


Recurrence

No recurrence.

History

#1 Updated by Tibaldo Luigi over 4 years ago

Hi Cosimo
I am under the impression that you can do what you want with the base models provided in ctools

#2 Updated by Nigro Cosimo over 4 years ago

Hi Luigi

sorry for the belated reply and thanks for the suggestions. I’ll try to implement it.

You can close the feature request,

Thanks again.

Cosimo

#3 Updated by Tibaldo Luigi over 4 years ago

  • Tracker changed from Feature to Support
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

changed category to support and set to solved based on feedback from Cosimo

#4 Updated by Knödlseder Jürgen about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF