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

Inheritance diagram of OneTimeProperty

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.