Skip to content

Does not work with XSPEC 13.0.0 #2

Description

@DougBurke

The model.dat file introduced in XSPEC 13.0.0 adds a grad=xxx option to the end of the line - e.g.

% grep " add " $HEADAS/spectral/manager/model.dat
agauss         2   0.         1.e20          C_agauss  add  0  grad=gv
agnsed        15   0.03       1.e20          agnsed    add  0  grad=gv
agnslim         14 0.03       1.e20          agnslim  add  0  grad=gv
apec           3  0.         1.e20           C_apec    add  0  grad=gv
bapec          4  0.         1.e20           C_bapec   add  0  grad=gv
bcempow        7  0.         1.e20         C_bcempow      add  0  grad=gv
bcheb6          11  0.         1.e20           C_bcheb6    add  0  grad=gv
bcie            5  0.         1.e20           C_bcie      add  0  grad=gv
bcoolflow       6  0.         1.e20           C_bcoolflow  add  0  grad=gv
bcph          5   0.        1.e20           C_bcph   add  0  grad=gv
bequil         4   0.         1.e20          C_bequil   add 0  grad=gv
bexpcheb6     11  0.         1.e20           C_bexpcheb6   add  0  grad=gv
bfekblor     1   0.01    1.e6      C_bFeKbetafromFourLorentzians  add  0  grad=gv
bfeklor      1   0.01    1.e6      C_bFeKfromSevenLorentzians  add  0  grad=gv
...

which messes up this code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions