added license

This commit is contained in:
Erik Fröjdh
2025-11-20 09:01:28 +01:00
parent 7fb500c44c
commit 53aed8d8c6
78 changed files with 553 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
find_package (Python 3.10 COMPONENTS Interpreter Development.Module REQUIRED)
set(PYBIND11_FINDPYTHON ON) # Needed for RH8

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
from . import _aare
import numpy as np

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
from ._aare import ClusterVector_Cluster3x3i

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
from . import _aare
import numpy as np

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
from . import _aare
import numpy as np
from .ScanParameters import ScanParameters

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
from . import _aare
class ScanParameters(_aare.ScanParameters):

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
# Make the compiled classes that live in _aare available from aare.
from . import _aare

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
#Calibration related functions
import numpy as np
def load_calibration(fname, hg0=False):

View File

@@ -1 +1,2 @@
# SPDX-License-Identifier: MPL-2.0
from ._aare import gaus, pol1, scurve, scurve2

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import numpy as np
from . import _aare

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.axes_grid1 import make_axes_locatable

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import matplotlib.pyplot as plt
import numpy as np
from aare import fit_gaus, fit_pol1

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
from aare import apply_calibration
import numpy as np

View File

@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MPL-2.0
// Files with bindings to the different classes
// New style file naming

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import os
from pathlib import Path
import pytest

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import pytest
import numpy as np

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import pytest
import numpy as np

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import pytest
import numpy as np
import boost_histogram as bh

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import pytest
import numpy as np
import boost_histogram as bh

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import pytest
from aare import RawFile
import numpy as np

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import pytest
import numpy as np
from aare import RawSubFile, DetectorType

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import pytest
import numpy as np

View File

@@ -1,3 +1,4 @@
# SPDX-License-Identifier: MPL-2.0
import pytest
import numpy as np
from aare import JungfrauDataFile