Hi,

On 19 September 2016 at 15:34, Lukas Kluft <lukas.kl...@gmail.com> wrote:
> I committed the necessary changes to our package structure. Hopefully all
> imports are fixed by now (tests and doc build work fine).
> Even though the file structure changed quite a bit all code under
> typhon.physics.units is still available with this very import. Only
> typhon.physics.em moved to typhon.physics.units.em.
> My last commit also contains a first idea on how said wrapper functions
> could look like. But I am open for suggested improvements as I am unfamiliar
> with pint.

It looks good.

I wonder if we could dynamically generate such wrapper functions with
a clever use of function annotations, probably Pythons most
underutilised language feature.  I have a feeling I might benefit from
the typing module but I don't really know very well how I should use
it.

Gerrit.
_______________________________________________
typhon.mi mailing list
typhon.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/typhon.mi

Reply via email to