validate_unit ============= .. currentmodule:: synphot.units .. autofunction:: validate_unit