Coder Social home page Coder Social logo

xspec-issues's Introduction

Bug reports for pyxspec

getflux.py

The model count rate is zero after fakeit, but not when using just a model.

run with:

python3 getflux.py

twosourcemodel.py

This sets up two sources, one going through the response, one not (diagonal dummy response). The two sources are assigned to the background spectrum and the source spectrum.

The bug arises when the background data group is assigned background sources and responses. This somehow changes the response for the source data group.

run with:

python3 twosourcemodel.py workaround  # gives no error

python3 twosourcemodel.py  # gives error

Additional nitpicks:

  • It is very cumbersome to set this (pretty common) scenario up. Is there a better way?
  • Setting to a non-existing response file triggers a command line question that cannot be aborted.

Responses used

The RMF/ARF/background are arbitrary. In this case, they are taken from

https://wiki.mpe.mpg.de/eRosita/erocalib_calibration https://wiki.mpe.mpg.de/eRosita/ScienceRelatedStuff/Background

These correspond to pre-flight estimations of eROSITA. They are not the real performance!

xspec-issues's People

Contributors

johannesbuchner avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.