neutrons / multiphonon

multiphonon (getDOS)
MIT License
3 stars 5 forks source link

JOSS Review: Documentation #84

Closed lheagy closed 6 years ago

lheagy commented 6 years ago

Originally from @jochym in openjournals/joss-reviews#440

There is only very limited API documentation for two functions. Judging from the simplest example, even this simplest usage requires calling additional API functions (multiphonon.sqe.interp). The only functional documentation is a tersely commented notebook which I was unable to run (see above).

yxqd commented 6 years ago

Will add some more API documentation

yxqd commented 6 years ago

List of functions to add API doc or to expose API doc:

jochym commented 6 years ago

API

Functional docs

The notebook tutorial is a very good idea and it is mostly fine (except it did not run on my system). I have only one comment regarding the contents: please consider adding more narrative material, some overview and step by step explanation. Remember you are writing for a novice user not an expert (they can figure out everything without your help).

yxqd commented 6 years ago

@jochym Please check the new API doc at http://sns-chops.github.io/multiphonon/. We added API docs for the methods intended for users. We also added a brief introduction.

We added comments to the jupyter notebook, and added one more example to show users how to work directly from numpy arrays of I(Q,E) spectrum.

jochym commented 6 years ago
yxqd commented 6 years ago

Thanks @jochym.

jochym commented 6 years ago

The additional notebook will be a very welcomed addition.