Comments (8)
@dshoman could you have a look at the following issues, please?
- Readme should include contact
- python scripts need
pip install natsort
which is not yet described in the readme - the tutorial_usage_plotxspec.ipynb notebook references files not generated by run_all.sh:
"epicfn = 'epic_pn_agn_grp1.fak'\n",
"mos1fn = 'epic_mos1_agn_grp1.fak'\n",
"mos2fn = 'epic_mos2_agn_grp1.fak'\n",
Maybe the grouping command is missing? Should we go for grouping by 3 (or 5) counts to avoid the biases pointed out in https://giacomov.github.io/Bias-in-profile-poisson-likelihood/ (also referenced in the book chapter)
Otherwise it all ran through on my laptop.
from bxa.
@JohannesBuchner of course, I will add the updates in one new pull request.
-
For the
natsort
requirement, should this be mentioned in the main readme, or in the readme in the bayesian-workflow directory? -
The creation of the files "epic_[...]_grp.fak" is part of the commands in
gen_xmm.xspec
and relies ongrppha
. So the commands are there, but they are not running correctly on your system. Perhaps is it wrong to assume thatgrppha
is available to everyone runningxspec
. If so, the easiest solution is probably to simply drop the grouping altogether? I have tested the results on my system and everything also works well without the grouping.
from bxa.
@JohannesBuchner of course, I will add the updates in one new pull request.
Yes, please.
* For the `natsort` requirement, should this be mentioned in the main readme, or in the readme in the bayesian-workflow directory?
The latter.
* The creation of the files "epic_[...]_grp.fak" is part of the commands in `gen_xmm.xspec` and relies on `grppha`. So the commands are there, but they are not running correctly on your system. Perhaps is it wrong to assume that `grppha` is available to everyone running `xspec`. If so, the easiest solution is probably to simply drop the grouping altogether? I have tested the results on my system and everything also works well without the grouping.
Ah, sorry. I have ftgrouppha from heasoft, not grppha, but I will see if I should have added something to my configure command during heasoft install. If there is no background, do we need grouping? If there is a background, shouldn't we group by the background spectrum?
from bxa.
Ah, sorry. I have ftgrouppha from heasoft, not grppha, but I will see if I should have added something to my configure command during heasoft install.
For my install, both ftgrouppha and grppha are present. As this is not a given, I would say the safer option would be not to assume they are installed for all users.
If there is no background, do we need grouping? If there is a background, shouldn't we group by the background spectrum?
No, the grouping is not necessary. I left out a background spectrum for simplicity. This could be a nice addition though, to show how this is included in the plotting options. For now, I suggest to leave the grouping (and background) out.
from bxa.
Please have a look at https://johannesbuchner.github.io/BXA/ for how it looks now and let me know if you want any changes.
from bxa.
Thanks very much for including the notebooks in the documentation, it looks good to me.
There is some unusual output of the PlotBXA notebook, when creating the fakeit spectra (cell 37). There is an XSpec error regarding the file names of the spectra. I am not able to reproduce this on my local systems. It could be OK to simply suppress the output from this cell, as it has no direct input for the rest of the notebook (and as far as I can tell, the simulated files are still generated).
from bxa.
One thing I don't particularly like in the current navigation on the left is that the titles are so long and there is no clear separation. Bullet points would help. Not sure how to fix that at the moment.
from bxa.
I think the title length should be an easy fix: at the moment only the main header in the notebook (i.e. # ...) is taken into the selection menu. We could simply move the subtitles to a lower level of header (## ... ), that should reduce the entries in the navigation menu to simply 'PlotBXA example' and 'PlotXspec example', respectively.
from bxa.
Related Issues (20)
- Wstat (joint likelihood) crashes with sinning.py assertion error HOT 11
- FileExistsError while using mpi4py HOT 5
- Creating a custom PCA background for Athena HOT 6
- Extremely slow to converge HOT 2
- [Feature request] An option to save the model HOT 6
- Using PCA backgrounds in Sherpa changes the default behaviour of plots HOT 2
- mpi4py returns a BlockingIOError/OSError: Unable to create file HOT 3
- Error running xagnfitter.py: Hard limit on sigma for Sherpa Gaussian models HOT 2
- Exception: Error: Python Model object reference no longer corresponds to an actual XSPEC model. HOT 4
- (very simple to solve) bug in passing evidence_tolerance (aka dlogz) to ultranest HOT 4
- Using BXA chains for error analysis HOT 2
- No dynamic range in posteriors with MultiNest (BXA v2.9) HOT 4
- Install BXA error in ciao-4.15 HOT 2
- BXASolver run cannot be interrupted in jupyter lab HOT 3
- Incompatible architecture (have 'arm64', need 'x86_64') HOT 7
- How is the logl value computed wrt to the Sherpa Wstat ? HOT 2
- Segfault when I ignore any channels HOT 1
- Mismatch in the sinning.py module HOT 1
- Y-axis label on convolved spectrum HOT 5
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 bxa.