registry
registry
¶
ASL quantification model registry.
register_quantification_model
¶
Decorator to register an ASL quantification model.
| PARAMETER | DESCRIPTION |
|---|---|
name
|
Registry key for the model (e.g.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
Callable
|
Class decorator. |
get_quantification_model
¶
Get an ASL quantification model instance by name.
| PARAMETER | DESCRIPTION |
|---|---|
name
|
Model name (e.g.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
BaseASLModel
|
Model instance. |
| RAISES | DESCRIPTION |
|---|---|
DataValidationError
|
If model name is not recognized. |
list_quantification_models
¶
Return names of all registered ASL quantification models.
| RETURNS | DESCRIPTION |
|---|---|
list[str]
|
Sorted list of registered model names. |