Return the field if it satisfies the given conditions.
f.select(*args, **kwargs) is equivalent to f if f.match(*args, **kwargs) else cf.FieldList().
See cf.Field.match for details.
Parameters : |
|
---|---|
Returns : |
|
Examples
Select the field if has exactly four domain axes:
>>> f.select(rank=4)
See cf.Field.match for further examples.