[Neuroimaging] [nipy] HistogramRegistration verbosity

Satrajit Ghosh satra at mit.edu
Fri Jul 24 23:49:55 CEST 2015


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


More information about the Neuroimaging mailing list