By: Yi-Xin Liu
Re-posted from: http://www.yxliu.group/2020/03/scattering-2
In this post we will implement a submodule, peak.jl
, to model the shape of scattering peaks. Essential Julia language features will be introduced along the development of the submodule. You shall learn types, constructors, functions, methods, functors, modules, testing, and benchmarking after reading this post.