Giter Club home page Giter Club logo

Comments (8)

JohannesBuchner avatar JohannesBuchner commented on August 12, 2024

@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.

dshoman avatar dshoman commented on August 12, 2024

@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 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.

from bxa.

JohannesBuchner avatar JohannesBuchner commented on August 12, 2024

@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.

dshoman avatar dshoman commented on August 12, 2024

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.

JohannesBuchner avatar JohannesBuchner commented on August 12, 2024

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.

dshoman avatar dshoman commented on August 12, 2024

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.

JohannesBuchner avatar JohannesBuchner commented on August 12, 2024

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.

dshoman avatar dshoman commented on August 12, 2024

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)

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.