[Neuroimaging] [nipy] HistogramRegistration verbosity

JB Poline jbpoline at gmail.com
Sat Jul 25 03:07:48 CEST 2015


nice !
JB

On Fri, Jul 24, 2015 at 5:25 PM, Michael Waskom <mwaskom at stanford.edu>
wrote:

> Here's my approach:
> https://github.com/cni/rtfmri/blob/master/rtfmri/analyzers.py#L215
>
> On Fri, Jul 24, 2015 at 3:19 PM, Alexis Roche <alexis.roche at gmail.com>
> wrote:
>
>> This message is printed by scipy.optimize, don't know if there is a
>> similar way to disable it.
>> Le 24 juil. 2015 23:50, "Satrajit Ghosh" <satra at mit.edu> a écrit :
>>
>>> thanks alexis.
>>>
>>> that indeed worked for the histogram registration.
>>>
>>> is there a similar trick for the optimizer?
>>>
>>> Optimization terminated successfully.
>>>          Current function value: -0.506414
>>>          Iterations: 3
>>>          Function evaluations: 106
>>>
>>>
>>> i tried this: nipy.algorithms.registration.optimizer.VERBOSE = False
>>>
>>> but that didn't work.
>>>
>>> these are the two relevant lines:
>>>
>>>     R = HistogramRegistration(source, target, similarity=similarity,
>>> interp=interp,
>>>                               renormalize=renormalize)
>>>     T = R.optimize('rigid', optimizer=optimizer)
>>>
>>>
>>> cheers,
>>>
>>> satra
>>>
>>> On Fri, Jul 24, 2015 at 5:37 PM, Alexis Roche <alexis.roche at gmail.com>
>>> wrote:
>>>
>>>> Hi Satra,
>>>>
>>>> I think this should do the trick:
>>>>
>>>> nipy.algorithms.registration.histogram_registration.VERBOSE = False
>>>>
>>>> Alexis
>>>> Le 24 juil. 2015 22:19, "Satrajit Ghosh" <satra at mit.edu> a écrit :
>>>>
>>>>> hi,
>>>>>
>>>>> is there a way to control verbosity of HistogramRegistration in nipy?
>>>>>
>>>>> cheers,
>>>>>
>>>>> satra
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Neuroimaging mailing list
>>>>> Neuroimaging at python.org
>>>>> https://mail.python.org/mailman/listinfo/neuroimaging
>>>>>
>>>>>
>>>> _______________________________________________
>>>> Neuroimaging mailing list
>>>> Neuroimaging at python.org
>>>> https://mail.python.org/mailman/listinfo/neuroimaging
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Neuroimaging mailing list
>>> Neuroimaging at python.org
>>> https://mail.python.org/mailman/listinfo/neuroimaging
>>>
>>>
>> _______________________________________________
>> Neuroimaging mailing list
>> Neuroimaging at python.org
>> https://mail.python.org/mailman/listinfo/neuroimaging
>>
>>
>
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20150724/7c86bbcb/attachment.html>


More information about the Neuroimaging mailing list