openjournals / joss-reviews

Reviews for the Journal of Open Source Software
Creative Commons Zero v1.0 Universal
706 stars 37 forks source link

[REVIEW]: QSOnic: fast quasar continuum fitting #6373

Closed editorialbot closed 4 months ago

editorialbot commented 7 months ago

Submitting author: !--author-handle-->@p-slash<!--end-author-handle-- (Naim Göksel Karaçaylı) Repository: https://github.com/p-slash/qsonic Branch with paper.md (empty if default branch): main Version: v1.0.0 Editor: !--editor-->@ivastar<!--end-editor-- Reviewers: @gcalderone, @corentinravoux Archive: 10.5281/zenodo.11105006

Status

status

Status badge code:

HTML: <a href="https://joss.theoj.org/papers/e12beb52b1db87776c325993c713a822"><img src="https://joss.theoj.org/papers/e12beb52b1db87776c325993c713a822/status.svg"></a>
Markdown: [![status](https://joss.theoj.org/papers/e12beb52b1db87776c325993c713a822/status.svg)](https://joss.theoj.org/papers/e12beb52b1db87776c325993c713a822)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) by leaving comments in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions

@gcalderone & @corentinravoux, your review will be checklist based. Each of you will have a separate checklist that you should update when carrying out your review. First of all you need to run this command in a separate comment to create the checklist:

@editorialbot generate my checklist

The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @ivastar know.

Please start on your review when you are able, and be sure to complete your review in the next six weeks, at the very latest

Checklists

📝 Checklist for @corentinravoux

📝 Checklist for @gcalderone

editorialbot commented 7 months ago

Hello humans, I'm @editorialbot, a robot that can help you with some common editorial tasks.

For a list of things I can do to help you, just type:

@editorialbot commands

For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:

@editorialbot generate pdf
editorialbot commented 7 months ago
Software report:

github.com/AlDanial/cloc v 1.88  T=0.09 s (564.8 files/s, 87819.5 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Python                          24           1312           1941           3503
reStructuredText                18            259            409            177
TeX                              1              8              0            105
YAML                             4             15             12             90
Markdown                         1             10              0             31
DOS Batch                        1              8              1             26
make                             1              4              7              9
TOML                             1              0              0              3
-------------------------------------------------------------------------------
SUM:                            51           1616           2370           3944
-------------------------------------------------------------------------------

gitinspector failed to run statistical information for the repository
editorialbot commented 7 months ago

Wordcount for paper.md is 551

editorialbot commented 7 months ago
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.3847/1538-4357/abb085 is OK
- 10.1103/PhysRevD.96.023522 is OK
- 10.1088/1475-7516/2015/02/045 is OK
- 10.1093/mnras/stab3201 is OK
- 10.1093/mnras/stae171 is OK

MISSING DOIs

- None

INVALID DOIs

- None
editorialbot commented 7 months ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

ivastar commented 7 months ago

@gcalderone, @corentinravoux thank you for agreeing to review this submission! Please review the guidelines above: https://github.com/openjournals/joss-reviews/issues/6373#issue-2142638233

Comments and recommendations for changes should ideally be in issues opened on the code repo but comments in this thread are also welcome. When you are finished, please let us know in the comments here.

We are looking for reviews in 3-4 weeks, so let's aim for March 18th at the latest for the first round of comments.

Let me know if you have questions!

corentinravoux commented 7 months ago

@ivastar Thank you, I will try to do my best to provide those comments quickly

corentinravoux commented 7 months ago

Review checklist for @corentinravoux

Conflict of interest

Code of Conduct

General checks

Functionality

Documentation

Software paper

corentinravoux commented 7 months ago

I have a COI with this review, I work in the same collaboration than the main author (DESI), and we are co-author of some papers (Karaçaylı et al. 2024, Ravoux et al. 2023). I am contributing and using the picca code mentioned in the paper. However, I think I am able to provide an impartial assessment of this work, as I am open to using alternative continuum fitting algorithm, and I never used QSOnic. I request to waive this COI if this is possible.

corentinravoux commented 7 months ago

Comments on the joss-paper (I used the download version):

ivastar commented 7 months ago

https://github.com/openjournals/joss-reviews/issues/6373#issuecomment-1953747932

@corentinravoux The COI can be waived for this specific case. Thank you declaring your relation to the author and this work.

corentinravoux commented 7 months ago

The review process is quite faster than I expected. I summarized my comments in the following issue: https://github.com/p-slash/qsonic/issues/92. There are some comments that are blocking the completion on my checklist. I let time to the main author of QSOnic to address them before I validate all points.

gcalderone commented 6 months ago

Review checklist for @gcalderone

Conflict of interest

Code of Conduct

General checks

Functionality

Documentation

Software paper

gcalderone commented 6 months ago

I provided my comments in https://github.com/p-slash/qsonic/issues/93

ivastar commented 6 months ago

@p-slash I believe we have both sets of comments now. The ball is in your court. Please review the comments and respond to them here or in the review issues that have been opened. I would appreciate it if you could do this in the next 3-4 weeks.

p-slash commented 6 months ago

My other responses can be found at https://github.com/p-slash/qsonic/issues/93#issuecomment-2000103671 and https://github.com/p-slash/qsonic/issues/92#issuecomment-2000114200. The updated documentation can be accessed here: https://qsonic.readthedocs.io/en/paper/index.html.

Thanks @corentinravoux for the feedback. This is the second part of my response.

* For the reference, I would add Armengaud et al. 2017 for the dark matter constraints, and Ravoux et al. 2023 for the measurements.

Added.

* The sentence "The field has devised ..." is unclear. Do you mean recent studies ? And to which "well-known modes" are you referring ?

Paper now says: Recent studies have devised a simple continuum model to homogenize the analysis across quasars so that the errors in the estimated continuum are contained to well-known modes, such as the amplitude and slope of the quasar continuum.

* "a polynomial of ln 𝜆" Maybe I am wrong but i thought that for DESI, it is just "𝜆" ?

We are still fitting for ln lambda for DESI. There was a version of picca that performed the continuum fitting on lambda, but that was eventually removed before EDR analyses took off.

* "a delete-one Jackknife estimate for the covariance matrix used in pipeline noise calibration correction calculation" Here, do you mean the picca equivalent of eta ? This end of sentence might be too technical for the statement of need here.

Paper now says: It saves detailed intermediate data products including best-fit parameters for each quasar and the covariance matrix used in pipeline noise calibration correction ($\eta$ parameter in references [@bourbouxCompletedSDSSIVExtended:2020; @karacayliOptimal1DLy:2024]).

* When you say that QSOnic is built on the same algorithm than picca, do you mean that you used part of the software, or that the principle of the algorithm is the same ? Please clarify that on the text.

Paper now says: QSOnic is built on the same principle of picca continuum fitting algorithm. Unlike picca, QSOnic has robust convergence criteria, provides a generic API for DESI quasar spectra, and saves more intermediate data products. Due to optimized IO routines, MPI parallelization and efficient numerical algorithms, it may be faster than picca.

ivastar commented 6 months ago

Thank you for the fast turn-around on the comments, @p-slash!!!

@gcalderone and @corentinravoux, could you please review the responses and let me know if you believe all points have been addressed? If no, please add additional comments. If yes, please recommend publications.

gcalderone commented 5 months ago

@editorialbot generate pdf

editorialbot commented 5 months ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

gcalderone commented 5 months ago

Thanks @p-slash for the updates! Please find my new comment in the same issue: https://github.com/p-slash/qsonic/issues/93

corentinravoux commented 5 months ago

Thanks @p-slash, you answered all my comments. I have checked all the items of my checklist, and I recommend this package for publication.

I have a minor comment which is very technical and does not interfere at all with the review:

* "a polynomial of ln 𝜆" Maybe I am wrong but i thought that for DESI, it is just "𝜆" ?

We are still fitting for ln lambda for DESI. There was a version of picca that performed the continuum fitting on lambda, but that was eventually removed before EDR analyses took off.

On this aspect, I was sure that it was in lambda in picca, but after double checking it is indeed in log_lambda. I do not understand why this is the case for DESI data which are linearly binned, did you test on QSOnic the difference in term of continuum fitting with different term in the polynomial term (lambda vs log lambda) ?

p-slash commented 5 months ago

Thanks. I addressed @gcalderone's comments under the issue.

@corentinravoux, re: ln lambda: Yes, DESI is linearly spaced, but this term is related to the quasar continuum model, so it does not need to be tied to the observational grid. If I remember correctly, ln lambda is the better of the two for the quasar continuum model theoretically, but I do not have a document to point you to. I had the comparison with picca, and the difference was small, but I did not code within qsonic. Furthermore, changing this model then propagates to the distortion matrix calculation. It complicates the entire analysis, so it may be that we simplified it to a single choice in the end.

gcalderone commented 5 months ago

Thanks @p-slash ! I closed the https://github.com/p-slash/qsonic/issues/93 issue, and recommend acceptance of the paper.

p-slash commented 5 months ago

Thank you @gcalderone and @corentinravoux for the comments. @ivastar let me know what the next steps are.

ivastar commented 4 months ago

Thank you @gcalderone and @corentinravoux for the detailed review and thank you @p-slash for the quick turn-around on the comments!

I am going to move forward on the pre-publication review. I will read the paper to check for any editorial issues and follow up with comments here.

ivastar commented 4 months ago

@editorialbot generate pdf

ivastar commented 4 months ago

@editorialbot check references

editorialbot commented 4 months ago
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.3847/1538-4357/abb085 is OK
- 10.1103/PhysRevD.96.023522 is OK
- 10.1088/1475-7516/2015/02/045 is OK
- 10.1093/mnras/stab3201 is OK
- 10.1093/mnras/stae171 is OK
- 10.1093/mnras/stad3008 is OK
- 10.1093/mnras/stx1870 is OK
- 10.1086/427976 is OK

MISSING DOIs

- No DOI given, and none found for title: picca: Package for Igm Cosmological-Correlations A...
- No DOI given, and none found for title: The DESI Experiment Part I: Science,Targeting, and...

INVALID DOIs

- None
editorialbot commented 4 months ago

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

ivastar commented 4 months ago

The DOI for the DESI Experiment Part I paper is https://doi.org/10.48550/arXiv.1611.00036

picca should just be cited with the du Max Bourboux paper as per the instructions on the repo: https://doi.org/10.48550/arXiv.2007.08995

Some editorial comments in https://github.com/p-slash/qsonic/pull/96

ivastar commented 4 months ago

Post-Review Checklist for Editor and Authors

Additional Author Tasks After Review is Complete

Editor Tasks Prior to Acceptance

ivastar commented 4 months ago

@p-slash once the editorial changes are complete, please review the tasks above.

p-slash commented 4 months ago

picca should just be cited with the du Max Bourboux paper as per the instructions on the repo:

@ivastar could you clarify this comment? Do you want me to remove Karaçaylı et al. (2024) citations or add this citation instead of a link to the repo? Note that this paper is already cited.

ivastar commented 4 months ago

@ivastar could you clarify this comment? Do you want me to remove Karaçaylı et al. (2024) citations or add this citation instead of a link to the repo? Note that this paper is already cited.

I think use the paper citation instead of the link to the repo. Just trying to resolve the "missing DOI" issues.

p-slash commented 4 months ago

@editorialbot check references

editorialbot commented 4 months ago
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.3847/1538-4357/abb085 is OK
- 10.1103/PhysRevD.96.023522 is OK
- 10.1088/1475-7516/2015/02/045 is OK
- 10.1093/mnras/stab3201 is OK
- 10.1093/mnras/stae171 is OK
- 10.1093/mnras/stad3008 is OK
- 10.48550/arXiv.1611.00036 is OK
- 10.1093/mnras/stx1870 is OK
- 10.1086/427976 is OK

MISSING DOIs

- None

INVALID DOIs

- None
p-slash commented 4 months ago

@ivastar could you clarify this comment? Do you want me to remove Karaçaylı et al. (2024) citations or add this citation instead of a link to the repo? Note that this paper is already cited.

I think use the paper citation instead of the link to the repo. Just trying to resolve the "missing DOI" issues.

Ok. The problem was an unused entry in the bib file, not the link to the repo. No more missing DOIs now

ivastar commented 4 months ago

@p-slash great! Please create an archive and share the version and DOI here.

p-slash commented 4 months ago

Thanks! I tagged version v1.0.0. Zenodo link: https://zenodo.org/records/11105006 DOI: 10.5281/zenodo.11105006

ivastar commented 4 months ago

@editorialbot set 10.5281/zenodo.11105006 as archive

editorialbot commented 4 months ago

Done! archive is now 10.5281/zenodo.11105006

ivastar commented 4 months ago

@editorialbot set v1.0.0 as version

editorialbot commented 4 months ago

Done! version is now v1.0.0

ivastar commented 4 months ago

@editorialbot generate pdf

ivastar commented 4 months ago

@editorialbot check references

editorialbot commented 4 months ago

:warning: An error happened when generating the pdf.

ivastar commented 4 months ago

@editorialbot generate pdf

editorialbot commented 4 months ago

:warning: An error happened when generating the pdf.

ivastar commented 4 months ago

@editorialbot set main as branch

editorialbot commented 4 months ago

Done! branch is now main