Skip to content

Commit

Permalink
Preparation for pip module (#12)
Browse files Browse the repository at this point in the history
* add physical parameters
* change launch of CI

Co-Authored-By: Karol Tarnowski <[email protected]>
  • Loading branch information
majsylw and karoltarnowski authored Apr 26, 2022
1 parent 1118234 commit 81e2858
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [push, pull_request]
on: [pull_request]

jobs:
tests:
Expand Down
4 changes: 4 additions & 0 deletions gnlse/common.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
pi = 3.1415926535897932384626433

c = 299792.458 # Speed of light in vacuum [nm/ps]
hplanck = 6.62607015e-34 # Planck constant [J.s]
hbar = hplanck / 2 / pi # Reduced Planck constant [J.s]

0 comments on commit 81e2858

Please sign in to comment.