bccp / nbodykit

Analysis kit for large-scale structure datasets, the massively parallel way
http://nbodykit.rtfd.io
GNU General Public License v3.0
111 stars 60 forks source link

increased usage of astropy? #198

Closed nickhand closed 8 years ago

nickhand commented 8 years ago

There could be a few advantages to using more of the tools provided by astropy:

thoughts, @rainwoodman?

rainwoodman commented 8 years ago

I agree we shall somehow get affiliated with astropy. but ...

Do you have a further list of tools in mind?

Affiliated status: I dislike the idea of gaining publicity by voluntarily shovel their thingy down our throat. It doesn't hurt to have some originality in the astronomy software community.

Most importantly, publicity gain from astropy is very little once we have a paper out. Having packages on PIP means the availability is already reasonably.

I have a strong opinion against using their infrastructure tools: because the developers of older, main stream packages are usually more experienced, I think we shall follow their practices instead of those set by the young generation of physicists developers at astropy.

197: less code and looser coupling is the hall mark of a software design. From what it sounds like, the CLASS wrapper shall be made into a separate package, to ensure 'loose coupling' such that others can reuse the wrapper without nbodykit -- just like the way we have kdcount or pmesh.

nickhand commented 8 years ago

I think I agree with all of your points here -- just wanted to see what you thought.

For 2to3, really the most important thing is unit testing anyways...Apparently the DataSet class was very broken in python 3 this whole time, without throwing any errors..

I've looked through the astropy docs a bit more...the infrastructure they set up is quite overwhelming at first. As you pint out, the goal should be to keep it as simple as possible, which we are doing a pretty good job of so far.

nickhand commented 8 years ago

closing this as resolved