ME-ICA / mapca

A Python implementation of the moving average principal components analysis methods from GIFT
GNU General Public License v2.0
6 stars 8 forks source link

Add license #4

Closed tsalo closed 3 years ago

tsalo commented 3 years ago

We need to incorporate information for the appropriate license from GIFT.

eurunuela commented 3 years ago

I found the code we based mapca on. You can find it here.

We developed the case where dim_est_method == 1 if I'm not wrong.

Anyway, they use the GNU license, which means we should be safe by using a GNU license version 2 or higher.

tsalo commented 3 years ago

So, the toolbox as a whole doesn't have a license, but the specific files we used do? That sounds good then.

I'm thinking that we should then (1) include brief license info and a general log of changes in the function/class docstrings and (2) include the full license, after our own, in the LICENSE file. WDYT?

EDIT: Alternatively, we could put the license in a special section of the README or RTD docs.

eurunuela commented 3 years ago

I think the entire toolbox is under GNU license but it's only visible when you read the code.

Alternatively, we could put the license in a special section of the README or RTD docs.

This sounds like the easiest option to me. In any case, GNU is quite flexible for what I remember, so as long as we give credit to their original authors, I think we're good.

eurunuela commented 3 years ago

@handwerkerd just told me Vince gave us his thumbs up on this project. We just have to cite and/or share the link to their website.

We're good to go! 🚀

eurunuela commented 3 years ago

I've opened #28 but we should still add a license to this repo.

Should we make it a package under ME-ICA already? I fear that it could take some time to make it appealing for nilearn to incorporate it.

tsalo commented 3 years ago

I think we can release to PyPi once we have the license and #29 handled. If it ends up being abandoned after 0.0.1 (with the core code moved into nilearn)... that's not really that big of a deal.

eurunuela commented 3 years ago

Sounds like a plan then!

tsalo commented 3 years ago

Do we still need to describe changes in the docstrings to meet the license's requirements?

eurunuela commented 3 years ago

For what I understood, the only requirement we have is citing the original work. It is true that pointing out where we diverge from the original code is very informative, especially for users. We haven't changed too many things iirc, so I'd lean towards documenting the changes.