Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add frequency conversion method #24

Merged
merged 3 commits into from
Apr 19, 2019
Merged

Add frequency conversion method #24

merged 3 commits into from
Apr 19, 2019

Conversation

ibaris
Copy link
Owner

@ibaris ibaris commented Apr 19, 2019

Add to method convert_to a frequency conversion routine. Now one can do

  • Units.convert_to(1.26, 'GHz', 'm') or
  • Units.convert_to(0.23, 'cm', 'THz')

Moreover, I changed the conversion in rspy.waves.waves.Waves.

…and dependencies.

This is a fugly bug. setup.py needs numpy but in requirement.txt is
numpy as dependency.
Add to method `convert_to` a frequency conversion routine. Now one can
do
* Units.convert_to(1.26, 'GHz', 'm')
Moreover, I changed the conversion in rspy.waves.waves.Waves.
@ibaris ibaris merged commit dc740b5 into master Apr 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant