Feature Request: Period to Frequency
xhain opened this issue · comments
Max commented
As a user of the convert alfred workflow I want to be able to convert from frequency (Hz) to a period back and forth.
// Period (T) to Frequency (Hz)
Input: conv 5 s Hz
Output: 0.2 Hz
Input: conv 0.25 s Hz
Output: 4 Hz
Input: conv 1 ms Hz
Output: 1000 Hz
// Frequency (Hz) to Period (T)
Input: conv 1000 Hz ms
Output: 1 ms
Dean Jackson commented
You need to define a Pint context in the custom definitions file.
Then you can use the context in conversions, as described in the README.