Skip to content

ba.fit_spectrum raises KeyError for valid survey PHA files #40

@zanepennella

Description

@zanepennella

I am encountering a reproducible KeyError at the end of ba.fit_spectrum when fitting individual BAT survey PHA files.

Importantly:

  • The XSPEC fit itself runs successfully
  • The spectrum is plotted
  • Fit parameters are printed
  • The error occurs only after fitting, when BatAnalysis attempts to store model parameters back into the BatSurvey object

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions