A Julia package for generating random telegraph noise (RTN).
RTN, also known as burst noise or a random telegraph signal, have a set of useful analytical properties which can make them ideal for testing the statistical analyses of time series. For example, in the simplest cases, RTNs have two equally probable states and are characterized by a single time scale, known as the dwell time
One can then show that the autocovariance
[1] For an additional derivation, and a great overall introduction to the science of noise analysis in signals, check out D. K. C. MacDonald's Noise and Fluctuations (orig. 1962, Dover Publications 2006). The derivation is specifically in Appendix IV.