Commit 11a935fd authored by Yakubov, Sergey's avatar Yakubov, Sergey
Browse files

add source files

parent c5a91649
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# 

source code 
source code for TOPAZ reduction

+1152 −0

File added.

Preview size limit exceeded, changes collapsed.

+4 −0
Original line number Diff line number Diff line
1.215893842710759998e+02 8.100234774828789508e-01 2.647247052741799944e+00 2.027898410666409836e+04 1.226680756006560101e-04 1.681578450805830016e+00 -8.485987328863079426e+01 1.590340113846980057e+04 5.055099891553250054e-05 1.997325649370830014e+00
8.525224840753639621e-02 4.636130942841449887e-01 -3.989070384421800242e+01 4.380807224184180200e+02 2.008660479209430083e-02 -8.852004392158930557e+01 -2.820580148725260017e+01 2.496287809775589892e+02 2.180956816481570068e-02 -8.805485271801809688e+01
1.732944010159489883e-04 0.000000000000000000e+00 5.502176884517830331e+03 4.431179005493610020e+04 2.110874127969910100e-02 -9.212364298736000023e+01 3.071339402264429808e+00 3.486576590389930175e+01 2.176993765837039949e-02 -9.212364298736000023e+01
3.083801083049300118e+01 1.561630879632600055e-02 -4.854147964357110141e+03 3.947366479189349775e+04 1.425543318236900030e-04 9.556278656050970488e-01 2.231100061389099938e+04 1.388953958067029930e+02 1.552578739191489907e-03 2.484323237425750008e+00

dependencies.yml

0 → 100644
+7 −0
Original line number Diff line number Diff line
name: topaz
channels:
  - mantid/label/nightly
  - conda-forge
dependencies:
  - python=3.10
  - mantid-framework=6.7.0
+17 −8
Original line number Diff line number Diff line
FROM ubuntu:20.04
FROM --platform=amd64 ubuntu:22.04

RUN DEBIAN_FRONTEND="noninteractive" apt-get update && apt-get -y install tzdata

RUN apt-get update \
  && apt-get install -y \
      python3 \
      python3-pip \
  && apt-get clean
RUN apt-get update && apt-get install -y wget xz-utils libglu1-mesa-dev

RUN pip3 install scipy numpy matplotlib
RUN wget https://github.com/mantidproject/mantid/releases/download/v6.7.0/mantidworkbench-6.7.0.tar.xz

COPY /src /src
RUN tar -xvf ./mantidworkbench-6.7.0.tar.xz

RUN ln -s /mantidworkbench/bin/python /mantidworkbench/bin/mantidpython

ENV PATH=$PATH:/mantidworkbench/bin
ENV PYTHONPATH=$PYTHONPATH:/app/lib/ISAW_PythonSources/Lib:/app/lib/Python3Library

COPY mantid.local.properties /etc/mantid.local.properties

COPY /data /data

COPY /src /app

WORKDIR /app

Loading