• Implemented the following methods:
    - GVector GModel::eval(GObservation&, GMatrixSparse*)
    - GVector GModelSky::eval(GObservation&, GMatrixSparse*)
    - GVector GResponse::convolve(GModelSky&, GObservation&, GMatrixSparse*)
    - GVector GObservation::model(GModels&, GMatrixSparse*)
    - GVector GObservation::model_grad(GModel&, GModelPar&)
    Jürgen Knödlseder authored
     
    Browse File »



  • The methods GModel::has_eval_indices() and GModel::eval_indices() allow for a more efficient parameter handling in GObservation::model() that is specifically relevant for a model with many parameters, such as the SPI data space models. These methods allow the GModel::eval() method to signal which of the parameters were actually updated, so that the gradients for only these parameters will be considered in GObservation::model(), while all other gradients will be ignored.
    Jürgen Knödlseder authored
     
    Browse File »