Measuring the work function of nanomaterials can be challenging. Techniques such as photoelectron spectroscopy (PES), Kelvin probe force microscopy (KPFM), and scanning tunneling microscopy (STM) are commonly used. These methods provide high spatial resolution, which is essential for characterizing the work function variations at the nanoscale.