Suppose the cavity is held at a fixed temperature T and the radiation trapped inside the enclosure is at thermal equilibrium with the enclosure. The hole in the enclosure will allow some radiation to escape. If the hole is small, radiation passing in and out of the hole has negligible effect upon the equilibrium of the radiation inside the cavity. This escaping radiation will approximate black-body radiation that exhibits a distribution in energy characteristic of the temperature T and does not depend upon the properties of the cavity or the hole, at least for wavelengths smaller than the size of the hole. See the figure in the Introduction for the spectrum as a function of the frequency of the radiation, which is related to the energy of the radiation by the equation E = hf, with E = energy, h = Planck constant, f = frequency.