nu-radio / radiotools

A tool package for cosmic-ray and neutrino radio detectors
GNU General Public License v3.0
8 stars 5 forks source link

Add function for average density #26

Closed fschlueter closed 5 years ago

fschlueter commented 5 years ago

Hi, as the commit massages say... Cheers

fschlueter commented 5 years ago

Okay, it does not work as intended, I am on...

fschlueter commented 5 years ago

Now it works for me.

fschlueter commented 5 years ago

hey @cg-laser what do you think?

cg-laser commented 5 years ago

better use built in function caching: https://docs.python.org/3/library/functools.html lru_cache

fschlueter commented 5 years ago

yep, that is much better!