Skip to content

Commit

Permalink
XSPEC 12.11.0: added interface to thcompf routine (convolution model)
Browse files Browse the repository at this point in the history
This is waiting on a resoltuion to sherpa#68 before Python classes can be
added to use this convolution model.
  • Loading branch information
DougBurke committed Jul 21, 2020
1 parent de56128 commit 812b9e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sherpa/astro/xspec/src/_xspec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,10 @@ void rgsxsrc_(float* ear, int* ne, float* param, int* ifl, float* photar, float*
void kyconv_(float* ear, int* ne, float* param, int* ifl, float* photar, float* photer);
#endif

#ifdef XSPEC_12_11_0
void thcompf_(float* ear, int* ne, float* param, int* ifl, float* photar, float* photer);
#endif

}

// This routine could be called when the module is being initialized,
Expand Down Expand Up @@ -1336,6 +1340,10 @@ static PyMethodDef XSpecMethods[] = {
XSPECMODELFCT_CON(C_zashift, 1),
XSPECMODELFCT_CON(C_zmshift, 1),

#ifdef XSPEC_12_11_0
XSPECMODELFCT_CON_F77(thcompf, 4),
#endif

// Models from 12.9.1
//
//
Expand Down

0 comments on commit 812b9e2

Please sign in to comment.