The three functions supplied with this code correspond to thermal modes governed by Bose-Einstein statistics
: [p.sup.Therm.sub.[mu]] (k) = [[mu].sub.k]/[(1 + [mu]).sub.k+1], Poisson modes: [p.sup.Pois.sub.[mu]] (k) = exp(-[mu])[[mu].sup.k]/k!, and single-photon modes governed by binomial statistics: [p.sup.SP.sub.[mu]] (0) = (1 - [mu]); [p.sup.SP.sub.[mu]] (1) = [mu]; and [p.sup.SP.sub.[mu]] (k > 1) = 0.
In this section we consider a different theoretical framework to generalize Fermi-Dirac and Bose-Einstein statistics
, from conventional method using anyons,  in particular because this conventional method cannot be generalized further to include Tsallis statistics which has attracted some attention in recent years.
Bioelectricity, vaccination, X-rays, inkjet printers (in an accident involving a soldering iron and a pen), Post-It notes, the chemical structure of cyclic compounds, Bose-Einstein statistics
, and major concepts such as the nature of gravitation (Isaac Newton's apple falling from a tree) and specific gravity (Archimedes' observation of the way his body displaced water from his bath), were either discovered or inspired by serendipitous events.
He followed this phenomenal start with many strong advances in the field, including the discoveries of Bose-Einstein statistics
, stimulated emission, the cosmological constant, and the Einstein-Rosen-Podolsky paradox.
Bose and Einstein had worked out the Bose-Einstein statistics
a year earlier, but the statistics now turned out to hold only for those particles (like the photon) that had spins of integral values: 0, 1, 2, and so on.