[Neuroimaging] [nipy] HistogramRegistration verbosity

Alexis Roche alexis.roche at gmail.com
Sat Jul 25 00:19:51 CEST 2015


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20150725/c01383cd/attachment.html>


More information about the Neuroimaging mailing list