1. A method comprising: irradiating a feature having a size with radiation from a radiation source to form a diffraction pattern; detecting the diffraction pattern with a detector; and comparing a feature size identifier from the diffraction pattern with a library of feature size identifiers, each feature size identifier in the library being associated with a known feature size.