Sanitise a spec for a 'scaled' value

sanitise_spec_scaled(spec)

Arguments

spec

named list object with 'type', 'nbits', etc

Value

Return sanitised spec with any generic default values set