lucabaldini / pyxpe

Python utilities for the X-ray Polarimetry Explorers
GNU General Public License v3.0
0 stars 0 forks source link

Improve random number extraction in simulation #11

Open csgro opened 8 years ago

csgro commented 8 years ago

Relevant distributions are included in simulation/xperandom.py Need to find a way to define the functions and cdf only once, when object is created, and avoid re-doing it every time the function is called.