Giter VIP home page Giter VIP logo

Comments (5)

DougBurke avatar DougBurke commented on June 14, 2024

As an example of how the current scheme can give surprising results, I show the model evaluation for the xskerrdisk model using a continuous grid (which has then been filtered to remove points) and the equivalent results from using a non-continuous grid: https://gist.github.com/DougBurke/d9a0074489b6d1de108e

This is one of the more obvious differences (and is down to how the model works, since it really relies on having a large grid of input values). More common is that the bins that are at the end of a contiguous sequence show differences but the other bins have the same result.

from sherpa.

DougBurke avatar DougBurke commented on June 14, 2024

Just to note that Keith Arnaud tells me that this crash is fixed in the not-yet-released next release of XSpec.

from sherpa.

olaurino avatar olaurino commented on June 14, 2024

Any chances we could get a patch for testing?

from sherpa.

DougBurke avatar DougBurke commented on June 14, 2024

Keith is going to be sending me the code soon. I'm also working at changing xspec_extension.hh to avoid this problem (although the simplest fix has lead to more strange bugs, so something is rotten in the state of Denmark): https://github.com/DougBurke/sherpa/tree/xspec-contiguous

from sherpa.

DougBurke avatar DougBurke commented on June 14, 2024

I have also come across another bug in the non-contiguous case, this time when the input array is in Angstroms. The error is shown in https://gist.github.com/DougBurke/b70485a9280f1b52a83e

from sherpa.

Related Issues (20)

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.