Atomic sources and detectors