mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-07 05:10:39 +02:00
Merge branch 'main' into developer
All checks were successful
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Successful in 1m33s
All checks were successful
Build the package using cmake then documentation / build (ubuntu-latest, 3.12) (push) Successful in 1m33s
This commit is contained in:
commit
b529b6d33b
@ -4,6 +4,7 @@ package:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
source:
|
source:
|
||||||
path: ..
|
path: ..
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ name = "aare"
|
|||||||
version = "2025.3.18"
|
version = "2025.3.18"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[tool.scikit-build]
|
[tool.scikit-build]
|
||||||
cmake.verbose = true
|
cmake.verbose = true
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ import math
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def gaussian_2d(mx, my, sigma = 1, res=100, grid_size = 2):
|
def gaussian_2d(mx, my, sigma = 1, res=100, grid_size = 2):
|
||||||
"""
|
"""
|
||||||
Generate a 2D gaussian as position mx, my, with sigma=sigma.
|
Generate a 2D gaussian as position mx, my, with sigma=sigma.
|
||||||
@ -54,6 +55,7 @@ p = Interpolator(eta, etabinsx[0:-1], etabinsy[0:-1], ebins[0:-1])
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#Generate the hit
|
#Generate the hit
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user