JuliaDSP / DSP.jl

Filter design, periodograms, window functions, and other digital signal processing functionality
https://docs.juliadsp.org/stable/contents/
Other
380 stars 110 forks source link

Cookbook/ tutorial #251

Open galenlynch opened 5 years ago

galenlynch commented 5 years ago

It would be great if we had a more prominent tutorial in the docs. I remember when I first started using DSP.jl, I was at a loss for how to use it for simple filtering tasks. The most helpful section on how to filter is a little bit buried. It seems that other people were also confused by the current documentation, so some clarification may be helpful.

ssfrr commented 5 years ago

I tend to think that it's useful to organize docs into a few standard sections:

I guess even if folks like this division there's still the question of whether this lives above or below the submodule hierarchy that we have currently.

I also don't necessarily want to derail this focused issue with a big refactoring of all the docs, so definitely a smaller change that makes filtering more accessible would be great.

galenlynch commented 5 years ago

Separating the docs into a User Guide and API Reference would probably go a long way towards making DSP.jl more accessible. Minimal examples could be included in the User Guide.

The fact that DSP.jl is made of submodules isn't obvious to its users, nor do they really need to know about it. If anywhere, I would think that should go in the Developer Docs.

ErikBuer commented 10 months ago

I am a big fan of doctests in the function documentation. That way the user doesn't have to look elsewhere to get a function up and running.

Especially when the user can have silly problems with dimensions or types. These can take some time to sort out.

ErikBuer commented 10 months ago

I have played around a bit and tried to create figures from jldoctest, which seems not to be possible. However it is quite easy to make documentation that generates figures end such, using documented and @example code snippets.

https://documenter.juliadocs.org/stable/man/syntax/