analysis

slab_analysis functions