Atomic decompositions of function spaces with Muckenhoupt weights, and some relation to fractal analysis