Mouse-Imaging-Centre / pydpiper

Python code for flexible pipeline control
Other
24 stars 10 forks source link

CSV column for MAGeT mask? #415

Open gdevenyi opened 5 years ago

gdevenyi commented 5 years ago

The derivatives.csv and analysis.csv both contain an lsq6_mask_file and nlin_mask_file column, are either of these the mask generated by maget masking? If not, can you add that.

Related, if I wanted masks for every subject, which one should I use, the nlin mask, or the maget mask?

bcdarwin commented 5 years ago

The lsq6_mask_file will be the one created by MAGeT if --(maget-)mask was enabled, and the resampled initial model mask if not.

If you want a mask in lsq6 space, use the lsq6_mask_file, and in nlin space, use the nlin_mask_file or ..._nlin/nlin-3_mask.mnc .

gdevenyi commented 5 years ago

Is there a mask available in native space? Or will I have to generate that myself?

bcdarwin commented 5 years ago

There should be native masks (used for N3 I think) but I don't think they are saved anywhere so they'll probably be in a tmp folder. Also I'm not sure if the nicer masks from MAGeT get propagated here or if the initial model mask only is used. Let me look into this, might be worth adding to CSV ...


From: Gabriel A. Devenyi notifications@github.com Sent: January 1, 2019 2:20:28 PM To: Mouse-Imaging-Centre/pydpiper Cc: Ben Darwin; Comment Subject: Re: [Mouse-Imaging-Centre/pydpiper] CSV column for MAGeT mask? (#415)

Is there a mask available in native space? Or will I have to generate that myself?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Mouse-2DImaging-2DCentre_pydpiper_issues_415-23issuecomment-2D450751254&d=DwMCaQ&c=Sj806OTFwmuG2UO1EEDr-2uZRzm2EPz39TfVBG2Km-o&r=WbPKw40NU3g_RTKn7pWL3cSAdk6QRKr3kMreWPZzNcg&m=XkW-u63BUnhnuWWcSJtpfxc0naYhJBOKbD8jRaKGQSA&s=LzOL5fFpiSfOhoTLxNZ_7moo45X5UrS23NAyyVykVNk&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAKBNMDRKcaUmMLcxJXfhOAKP-2DOsGPcQks5u-2D7T8gaJpZM4Zl-2DvI&d=DwMCaQ&c=Sj806OTFwmuG2UO1EEDr-2uZRzm2EPz39TfVBG2Km-o&r=WbPKw40NU3g_RTKn7pWL3cSAdk6QRKr3kMreWPZzNcg&m=XkW-u63BUnhnuWWcSJtpfxc0naYhJBOKbD8jRaKGQSA&s=0m54RER6y3m1RoAETMqyCWxZJQ0HTFNHQF_ffa4FRoc&e=.


This e-mail may contain confidential, personal and/or health information(information which may be subject to legal restrictions on use, retention and/or disclosure) for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.

gdevenyi commented 5 years ago

+1 for adding.

My muskrat model/atlas build is a bit iterative so I'm re-pre-processing the native scans as I get better outputs from pydpiper so I need to get stuff back in native space.