Slicing algorithm


I'm currently using BornAgain to simulate buried structures in relatively thick films (200-300nm). In this context I've been reviewing some recent articles, and occasionally see a mention of slicing algorithms when working with buried nanostructures. In particular, I'm refering to the article "Waveguide-enhanced grazing-incidence small-angle x-ray scattering of buried nanostructures in thin films".

I'll admit that my understanding of the mathematical details of DWBA are somewhat limited, but I was wondering if something like this was implemented in BornAgain? I've tried "slicing" my sample manually by simply stiching together similar layers (e.g. standing cylinders in a 200nm layer vs. 4 layers of standing cylinders in 50nm layers), and the results differ based on the number of slices.

Also, thanks for a great piece of software, the Python API is amazingly simple to worth with and your documentation is top notch!


Tim Birger Tejsner

Thanks a lot for your kind words. As for the slicing, we do not have such possibility yet. We will have to look into the article you are mentioning to see if it can be quickly implemented.

The manual "slicing" won't give you the interference between sub-cylinders. The intensity will be added uncoherently. However, you can have a look on ParticleComposition explained here. With particle composition you can have a single homogeneous layer with complex shape particle in it, like cylinder made of different materials. In this case the interference between different parts of cylinders will be treated coherently.



Thank you for the answer,

Slicing using ParticleComposition() actually makes a lot of sense now that I re-read the aforementioned article. Thank you for clearing up my confusion about the calculation of multilayers (coherent vs. non-coherent).

Implementing my problem using ParticleComposition() was super-easy (and lightning fast - even with 100 slices), and I quickly managed to make a piece of code that simply takes the number of slices as input. It did not seem to have much effect on the results, wich sort of confirms a suspecion I had.