spectrochempy.Quantity.check

Quantity.check(dimension)[source]

Return true if the quantity’s dimension matches passed dimension.