Closed nfaggian closed 13 years ago
We need to dictionary look ups for samplers, metrics and models - a user of the API should construct each of these explicitly.
affine = register.register( model='affine', )
should look more like:
affine = register.register( model=customModel )
In this case the custom deformation model could be constructed by inheriting from the base deformation model:
class customModel( register.model.model ): ...
Above change requires examples to change also.
We need to dictionary look ups for samplers, metrics and models - a user of the API should construct each of these explicitly.
affine = register.register( model='affine', )
should look more like:
affine = register.register( model=customModel )
In this case the custom deformation model could be constructed by inheriting from the base deformation model:
class customModel( register.model.model ): ...