Comments (5)
Just to point out that the "as you know" part is actually wriong!
from sherpa.
Need to check if this has been fixed in 4.12
from sherpa.
A quick note: most of our functions that allow running multiple datasets have id=None as their default value (e.g. fit
, conf
, ...) which means that they default to using all datasets by default.
I note that plot_pvalue
defaults to id=1
, which means that it only uses the default dataset by default. I think it should be changed to id=None
to match (and is an easy fix), but if there are difficulties in using with multiple datasets maybe we shouldn't make this change until #112 is resolved.
from sherpa.
I should add, I have no idea about how plot_pvalue
is meant to be used, what its arguments are, and what happens for multiple datasets. So I am unlikely to work on this until someone can provide guidance on these issues.
from sherpa.
@DougBurke as you know this function performs simulations assuming a null model and fits the simulated data with a null model and a more complex model to calculate the likelihood ratio between the two at each simulation step. The summary is printed to the screen and the plot shows the histogram of the likelihood ratio from N simulations and the vertical line showing the observed ratio. Also, the simulation results can be obtained with get_pvalue_results
and get_pvalue_plot
.
The simulations make sense for single data set, or simultaneous fit to multiple data set, so the null and the complex models are well defined. In the case of fitting different data sets with different models plot_pvalue
as defined would only make sense for running simulation for each data set separately, which is what one could do with the current implementation.
from sherpa.
Related Issues (20)
- RSPModelNoPHA does not apply the ARF exposure time
- sherpa.astro.ui.save_all change in logic
- UI layer and multi-panel plots HOT 2
- Issues in reading RMFs which encode the data with the Q type (i.e. very-double type) fail HOT 11
- we do not know about KEYWORD_ONLY keywords in functions when creating the ui layer HOT 3
- add an `image` method to our plotting backends HOT 4
- are the CI:arch builds broken HOT 3
- Do we have to make all backends support all "rich visualization" option? HOT 2
- DataRMF.apply_rmf infelicities
- save_all improvement
- internal: move rmf decoding logic from the backends into sherpa.astro.io HOT 1
- Create a wrapper function to link several parameters over several models at once or add a "Metamodel"
- save_all - should it save the random state
- build failures HOT 7
- conda-build pinned to 3.25 to get around index failures
- dataset id's still listed with a bracket
- running tests in parallel: Gauss-Kronrod message
- montecarlo optimisation and multi-core HOT 2
- sherpa does not install on gh-actions HOT 7
- Move grouping methods up in in hirachy? HOT 4
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.