Provides functions for generating pseudo-random numbers that follow a uniform distribution [0,1]. Randomness tests were conducted using the National Institute of Standards and Technology test suite<https://csrc.nist.gov/pubs/sp/800/22/r1/upd1/final>, along with additional tests. The sequence generated depends on the initial values and parameters. The package includes a linear congruence map as the decision map and three chaotic maps to generate the pseudo-random sequence, which follow a uniform distribution. Other distributions can be generated from the uniform distribution using the Inversion Principle Method and BOX-Muller transformation. Small perturbations in seed values result in entirely different sequences of numbers due to the sensitive nature of the maps being used. The chaotic nature of the maps helps achieve randomness in the generator. Additionally, the generator is capable of producing random bits.

Survey sampling using permanent random numbers (PRN's). A solution
    to the problem of unknown overlap between survey samples, which leads to a
    low precision in estimates when the survey is repeated or combined with
    other surveys. The PRN solution is to supply the U(0, 1) random numbers to
    the sampling procedure, instead of having the sampling procedure generate
    them. In Lindblom (2014) <doi:10.2478/jos-2014-0047>, and therein cited
    papers, it is shown how this is carried out and how it improves the
    estimates. This package supports two common fixed-size sampling procedures
    (simple random sampling and probability-proportional-to-size sampling) and
    includes a function for transforming the PRN's in order to control the
    sample overlap.

Optogenetics is a new tool to study neuronal circuits that have been genetically modified to allow stimulation by flashes of light.  This package implements the methodological framework, Point-process Response model for Optogenetics (PRO), for analyzing data from these experiments.  This method provides explicit nonlinear transformations to link the flash point-process with the spiking point-process.  Such response functions can be used to provide important and interpretable scientific insights into the properties of the biophysical process that governs neural spiking in response to optogenetic stimulation.