Skip to content

Commit

Permalink
Merge pull request #586 from Dessia-tech/add_rotation_speed
Browse files Browse the repository at this point in the history
Add rotation speed
  • Loading branch information
GhislainJ authored Jul 31, 2023
2 parents 0ebab32 + 86b254c commit ca121e6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed
- package_version is removed from serialization
- License changed from GPL to Lesser GPL
- License changed from GPL to Lesser GPL
- Add rotation speed in measures

### Fix
- Workflow name correction: correct the name if it contains an apostrophe.
Expand Down
6 changes: 6 additions & 0 deletions dessia_common/measures.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ class Speed(Measure):
si_unit = 'm/s'


class RotationSpeed(Measure):
""" Represent a rotation speed in radian per second. """

si_unit = 'rad/s'


class Acceleration(Measure):
""" Represent an acceleration in meter per second square. """

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ def get_branch():
"orjson>=3.8.0",
"typeguard",
"networkx",
"numpy",
"numpy<=1.24.0",
"pandas",
"mypy_extensions",
"scipy",
"scipy<1.10.1",
"pyDOE",
"pyDOE2",
"dectree",
Expand Down

0 comments on commit ca121e6

Please sign in to comment.