Skip to content

Commit 81e2858

Browse files
Preparation for pip module (#12)
* add physical parameters * change launch of CI Co-Authored-By: Karol Tarnowski <[email protected]>
1 parent 1118234 commit 81e2858

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on: [pull_request]
44

55
jobs:
66
tests:

gnlse/common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
pi = 3.1415926535897932384626433
2+
13
c = 299792.458 # Speed of light in vacuum [nm/ps]
4+
hplanck = 6.62607015e-34 # Planck constant [J.s]
5+
hbar = hplanck / 2 / pi # Reduced Planck constant [J.s]

0 commit comments

Comments
 (0)