First, thank you for a really cool package (indeed, thanks for all the marvelous toys in HoloViz)! I’ve created poor versions of Param in various languages over the years and was delighted to find you’ve put great thought into solving the problem really well for Python!
I would like to extend the code to be able to use numeric, units dimensioned, ‘quantity’ objects from the excellent astropy.units package as a parameter type. That way the parameters can be verified to be of the correct units, array dimensions as well as the values being (optionally) checked vs bounds or other criteria (e.g. mathematical properties of the input array).
I’m reading over the code and it seems I should follow (pillage!) the structure of the Number(Parameter) class. With a ‘quantity’, all the same behavior as Number applies to the quantity.value, but I need to add handling for the quantity.units. I will need to extend the slots for the units information.
Since I’m a newbie to this package - any other things I should be aware of?
(While this is brilliant for Python, it would all be way more generic to implement in Julia!!)