NiBabel

Access a cacophony of neuro-imaging file formats

Previous topic

nibabel.onetime.setattr_on_read

Next topic

nibabel.tmpdirs

This Page

Reggie -- the one

nibabel.onetime.OneTimeProperty

digraph inheritancea0f98f1834 { rankdir=LR; ratio=compress; fontsize=14; size="6.0, 8.0"; "OneTimeProperty" [shape=ellipse,URL="#nibabel.onetime.OneTimeProperty",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=14,color=dodgerblue1,style=filled,height=0.75]; }

class nibabel.onetime.OneTimeProperty(func)

A descriptor to make special properties that become normal attributes.

Create a OneTimeProperty instance.

Parameters :

func : method

The method that will be called the first time to compute a value. Afterwards, the method’s name will be a standard attribute holding the value of this computation.