openjournals / joss-reviews

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

[REVIEW]: powerbox: A Python package for creating structured fields with isotropic power spectra #850

Closed whedon closed 6 years ago

whedon commented 6 years ago

Submitting author: @steven-murray (Steven Murray) Repository: https://github.com/steven-murray/powerbox Version: v0.5.5 Editor: @arfon Reviewer: @dfm Archive: 10.5281/zenodo.1400822

Status

status

Status badge code:

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

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) 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

@dfm, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.theoj.org/about#reviewer_guidelines. Any questions/concerns please let @arfon know.

Please try and complete your review in the next two weeks

Review checklist for @dfm

Conflict of interest

Code of Conduct

General checks

Functionality

Documentation

Software paper

whedon commented 6 years ago

Hello human, I'm @whedon. I'm here to help you with some common editorial tasks. @dfm it looks like you're currently assigned as the reviewer for this paper :tada:.

:star: Important :star:

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿

To fix this do the following two things:

  1. Set yourself as 'Not watching' https://github.com/openjournals/joss-reviews:

watching

  1. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

notifications

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

@whedon commands
whedon commented 6 years ago
Attempting PDF compilation. Reticulating splines etc...
whedon commented 6 years ago

--> Check article proof :page_facing_up: <--

steven-murray commented 6 years ago

@whedon generate pdf

whedon commented 6 years ago
Attempting PDF compilation. Reticulating splines etc...
whedon commented 6 years ago

--> Check article proof :page_facing_up: <--

dfm commented 6 years ago

I'm starting to go through this and here are a few comments as I go:

dfm commented 6 years ago

Also:

steven-murray commented 6 years ago

The travis build is currently failing with some sort of coverage bug.

This is fixed by https://github.com/steven-murray/powerbox/commit/59980d84365099fab31e56238dfeb4ec7d3c2cfc

steven-murray commented 6 years ago

The powerbox version in the quickstart tutorial is not the same as the one that it is documenting (v0.5.4 vs 0.5.5).

Fixed in https://github.com/steven-murray/powerbox/commit/50efcded235e8d046c4ef28447e41019b017b307

steven-murray commented 6 years ago

The arguments to create_discrete_sample are not all documented. (I was not clear on what min_at_zero meant until I looked at the source)

Fixed in https://github.com/steven-murray/powerbox/commit/4e7cdcb7bb36b9be4149adf9bcd4bda0a1ea4751

steven-murray commented 6 years ago

The docs need a discussion of the dependencies and how to contribute.

Added some of these in https://github.com/steven-murray/powerbox/commit/e49a26037b69c9c29f4d1006be68fe06d8a36c3f. Please let me know if they are not adequate.

steven-murray commented 6 years ago

I think that the quickstart tutorial could have a few more words about the details of what is meant by "power spectrum" (e.g. units, normalization, etc.) and what the properties are required by the function provided to the PowerBox class.

I've had a go of this in https://github.com/steven-murray/powerbox/commit/04e6a6de0f0c969e933affe1402b9a9ec45a833c.

The discussion is in the quickstart tutorial introduction. Please let me know if this is not quite what you were thinking and can be improved.

steven-murray commented 6 years ago

a few of the references in the paper are missing DOIs

I have added DOIs to Coles 1991 and Peacock 1999 (cf https://github.com/steven-murray/powerbox/commit/086cb71443cdcfbb0ce6f08a6ac08df72898c49a). The book "Statistical Fluid Mechanics" by Monin and Yaglom does not seem to have a DOI. The article by Wolz2018 does not yet have a DOI as it is not yet accepted.

steven-murray commented 6 years ago

I think that it would also be useful to have a discussion of the specific numerical method (perhaps in the context of the relevant literature) somewhere in the docs. For example, how does this method compare to a Gaussian Process method that wouldn't require discretization for sampling. This might also lead to a useful discussion of how to choose N for specific use cases.

In https://github.com/steven-murray/powerbox/commit/6078a428012ac6e8e496d8c77dae5baf680464f9 I have added a new example notebook discussing the algorithm in a little more depth. I am not quite sure how to relate this method to Gaussian Processes, so I have left this out for now. I have commented that no information on the power is available for scales less than L/N, and given a rule-of-thumb for choosing N.

Thank you for all your comments so far. I hope I have addressed them reasonably!

dfm commented 6 years ago

Good stuff! I'm happy with these changes and everything looks good to me now. @arfon: I'm happy to recommend this for acceptance. @steven-murray: congrats on the excellent software and documentation!

arfon commented 6 years ago

@arfon: I'm happy to recommend this for acceptance.

:zap: thanks @dfm.

@steven-murray - At this point could you make an archive of the reviewed software in Zenodo/figshare/other service and update this thread with the DOI of the archive? I can then move forward with accepting the submission.

steven-murray commented 6 years ago

@dfm : Thanks for the smooth and thorough review process! @arfon : Thanks, the DOI is 10.5281/zenodo.1400822 .

I will definitely be publishing with JOSS again!

arfon commented 6 years ago

@whedon set 10.5281/zenodo.1400822 as archive

whedon commented 6 years ago

OK. 10.5281/zenodo.1400822 is the archive.

arfon commented 6 years ago

@dfm - many thanks for your review here ✨

@steven-murray - your paper is now accepted into JOSS and your DOI is https://doi.org/10.21105/joss.00850 :zap: :rocket: :boom:

whedon commented 6 years ago

:tada::tada::tada: Congratulations on your paper acceptance! :tada::tada::tada:

If you would like to include a link to your paper from your README use the following code snippets:

Markdown:
[![DOI](http://joss.theoj.org/papers/10.21105/joss.00850/status.svg)](https://doi.org/10.21105/joss.00850)

HTML:
<a style="border-width:0" href="https://doi.org/10.21105/joss.00850">
  <img src="http://joss.theoj.org/papers/10.21105/joss.00850/status.svg" alt="DOI badge" >
</a>

This is how it will look in your documentation:

DOI

We need your help!

Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following: