Comments (5)
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.
Just to note that Keith Arnaud tells me that this crash is fixed in the not-yet-released next release of XSpec.
from sherpa.
Any chances we could get a patch for testing?
from sherpa.
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.
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)
- How are we to handle parameter limit exceeded problems with linked parameters?
- potential confusion get_num_par_xxx routines when a model is repeated
- Is get_model_pars useful?
- xerr for PHA data does not recognize the wavelength setting
- Should xlo < xhi for wavelength plot objects?
- XSPEC 12.14.0 is out HOT 2
- thoughts on model cache work HOT 1
- plot_resid() with bokeh HOT 4
- parameter values can be set to None HOT 3
- cycle checking in linked parameters is incomplete
- data validation for DataPHA is missing some corner cases HOT 1
- codecov has stopped working HOT 1
- Can we improve error messages in UI by listing the dataset ids that cause error? HOT 1
- Move ignore/notice and binning from DataPHA to Data1DInt (or even higher in the hierachy) HOT 2
- can not use spawn or forkserver methods for multiprocessing HOT 1
- Should we replace NoNewAttributesAfterInit with __slots__ HOT 1
- Inconsistent naming for axis between 2D models and 2D data HOT 1
- 2D data looks crazy - is it mixing up x0/x1 in some cases? HOT 5
- plot class hierarchy issues
- build issues on Mac OS with arm64 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sherpa.