An analysis of the dependence on photon energy of the process of nanoparticle generation by femtosecond laser ablation in a vacuum