Comments (2)
I think it's a design problem and should be fixed, if possible with low effort.
We need find way for _iterfit
to retain a reference to the "parent" Fit
object so that we can just call whatever the statistic in that object is.
from sherpa.
I ended up with a "simple" fix - when you change the stat
attribute of Fit
then you also change the _iterfit.stat
method. It doesn't catch all cases but is a minimal fix. Ideally we'd only create the _iterfit
object when needed (ie make it throwaway) but there's design issues that make this hard and I don't really want to spend too much time here as this is nerd-sniping myself to the nth degree...
I made the changes to #2054
from sherpa.
Related Issues (20)
- 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
- How to load a pha object into an UI session HOT 3
- Looking into EstNewMin
- Switch numpy.matrix to numpy.ndarray
- issues with xspec HOT 6
- note about occasional ocdecov failures
- Test fails: signal only works in main thread of the main interpreter HOT 8
- x-ray polarization stats HOT 1
- arch build has switched to using python 3.12 so the weekly build now fails
- sherpa_test requires matplotlib HOT 5
- Pytest warning: PytestUnknownMarkWarning: Unknown pytest.mark.xdist_group` HOT 2
- XSPEC tests can crash on macOS with XSPEC 12.14.0 HOT 1
- add an optimizer/stat to the UI layer
- ui layer does not get sent any typing annotations HOT 1
- What to do with NoGIL and Python 3.13 HOT 2
- jax
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.