Skip to content

Instantly share code, notes, and snippets.

View gabimoog's full-sized avatar

Gabi Matzeu gabimoog

View GitHub Profile
from sherpa.models import ArithmeticModel, modelCacher1d
from astropy.modeling.core import _ModelMeta
from astropy.modeling import models as apy_models
from astropy.modeling.models import Gaussian1D as _gaussian1d
from sherpa import ui
from sherpa.models import Parameter
def make_class(model=_gaussian1d):
class AstropyModelSherpa(ArithmeticModel):