tfft.DebuggingOptions
tfft.DebuggingOptions¶
- class DebuggingOptions(*, check_points_range: bool = False)¶
Bases:
pydantic.main.BaseModel
Represents options for debugging.
Example
>>> options = tfft.Options() >>> # Assert that input points `x` lie within the supported range. >>> options.debugging.check_points_range = True >>> tfft.nufft(x, k, options=options)
- check_points_range¶
If
True
,nufft
will assert that the nonuniform point coordinates lie within the supported range (as determined byoptions.points_range
). This improves the safety of the operation, but may have a small impact on performance. Defaults toFalse
.- Type
bool