-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[META] Next steps for development on experimental surface module #4027
Comments
Copying some of the notes from our hackathon regarding writing surface data: Writing surface images
|
Good point
We could try that indeed: to avoid those reversions, it would make sense. |
What's preventing from releasing with the Surface API ? The plotting functions ? |
I wanted to point that out in case we decide not to for whatever reason. I'm happy to work on the plotting next week if @jeromedockes or @alexisthual point me to any notes or list them here that you made when discussing this if you do not have time to work on it. |
maybe we could avoid reverting it. to avoid importing the experimental module we can add some attribute for duck typing or even just check the class name instead of the |
As far as I can tell the SurfaceMasker does not include a |
I define it and raise NotImplemetedError in #4126 |
Oh meant that's for GLM but I think you can do the same for the masker for now |
Yasmin ***@***.***> writes:
> As far as I can tell the SurfaceMasker does not include a `generate_report` method like the other maskers.
I define it and raise NotImplemetedError in #4126
Why is that better than not defining it?
|
@jeromedockes to raise a message with the error that it is not yet implemented and imply that it will be. But feel free to do otherwise |
I would say mostly as signal to users (and future us) that this is coming. |
met with @bthirion and @jeromedockes at the open office hours Decisions:
|
... and for the time being, we represent meshes through dictionaries. |
@bthirion @htwangtw @emdupre @alexisthual @ymzayek Opinions needed @jeromedockes and I chatted a bit more regarding the next steps. Currently on main, the experimental module is imported in the following "non-experiemntal" places.
This leads to the warning from experimental module to be thrown when users use non-experimental part of the codebase. nilearn/nilearn/experimental/__init__.py Line 10 in cfda9ff
We feel that rather reverting #4120 (see #4027 (comment)) it would be OK to get rid of the experimental warning, assuming that users wanting to use the experimental features would literal have to type "experimental". This could be replaced with a additional warning in the doc: https://nilearn.github.io/dev/modules/experimental.html and in the coming release notes. How do others feel about this? |
TODO:
A similar approach (copy to experimental + mention new experimental example in old version) should be be used for other examples where the new surface API can be applied.
|
indeed that is more likely to catch their attention than any warning |
or rather collections of meshes containing one or more hemispheres. each individual mesh is still represented by a |
ok my 2 cents is stating it exists by defining it and then surprise it doesn't when we call it is not super helpful, and not defining it at all is less work but it's not important either way |
Adding a section in the top messages to mention issues or PR that will be made obsolete or superseded by the ones created here |
General
maskers
,plotting
,datasets
to make them easier to later integrate into the rest of the code basePlotting
bg_map
of the new plotting functions can be aSurfaceImage
instanceMaskers
SurfaceVectorizer
that just checks shapes and concatenates data but doesn't have a mask_img and doesn't maskDecoder
_check_embedded_nifti_masker
to work with surface maskerGLM
blocked by plotting [ENH] add plotting functions to the experimental surface module #4235Plotting
SurfaceImage
[ENH] expand surface plotting with new surface object #4431Documentation
Misc
Examples to adapt
Move experimental into stable
experimental.surface._io
tosurface._io
PRs and issues made obsolete
List previous attempts of surface development that will ultimately be closed by this development.
Older issues for context
The text was updated successfully, but these errors were encountered: