LUTDavisModel / Standalone-Application-User-Guide

0 stars 0 forks source link

Integrate the generated LUT table to Gate&Geant4 #1

Open maxime-z opened 3 years ago

maxime-z commented 3 years ago

Following the user guide, I have obtained a LUT table (.dat file) using the polished surface and ESR as the reflector. But now I don't know to integrate this result to Gate or Geant4.

I found that the default Davis LUTs are in the data folder of Geant4, under the path: geant4_install/share/geant4-10.x.x/data/RealSurface2.1.1.

Should I just copy the generated custom LUT file there and make an entry for it in a surface.xml for Gate?

LUTDavisModel commented 2 years ago

Hello Lei,

I am Carlotta Trigila and I work at UCDavis. I am responsible for helping and answering all the question concerning the use of the LUT Davis APP.

Sorry for the late response. Were you able to integrate the LUTs in GATE?

Carlotta


From: Lei Zh @.> Sent: Friday, June 18, 2021 9:10 AM To: LUTDavisModel/Standalone-Application-User-Guide @.> Cc: Subscribed @.***> Subject: [LUTDavisModel/Standalone-Application-User-Guide] Integrate the generated LUT table to Gate&Geant4 (#1)

Following the user guide, I have obtained a LUT table (.dat file) using the polished surface and ESR as the reflector. But now I don't know to integrate this result to Gate or Geant4.

I found that the default Davis LUTs are in the data folder of Geant4, under the path: geant4_install/share/geant4-10.x.x/data/RealSurface2.1.1.

Should I just copy the generated custom LUT file there and make an entry for it in a surface.xml for Gate?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/LUTDavisModel/Standalone-Application-User-Guide/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASEO7W7SZQH6U4JOSW2HA53TTNVZHANCNFSM4656J27A.

maxime-z commented 2 years ago

Hello Carlotta, Thanks for your reply. It is solved by following your method sent by mail. Lei.

Shiv-Subedi commented 1 year ago

Greetings,

I am also trying to incorporate LUT Davis model for optical simulations in GATEv8.2 that uses Geant4 v10.5.0. I have separately downloaded the LUT data from the 'Real Surface' folder provided in the same page as the Geant4 v10.5.0 download. I need to make GATE now use the LUT data that I downloaded separately. Could you please suggest me how to do this?

-Shiv

tangren-tech commented 8 months ago

I am using a Vgate virtual machine, how can I use LUT because when I use the surface code, it shows no found

Shiv-Subedi commented 8 months ago

Following Method worked for me to enable LUT Davis model in vGate8.2: If the LUT Data is not read correctly and if we still want to use LUT from UC Davis model for defining surface boundaries (alternatively, UNIFIED model can be used and any of steps below needn't be taken), we need to recompile vGate to enable UCDavis model using the 'sudo' privilege. More details of the compile process can be found in the 'Gettings started → Compiling GATE V9.2' section in main GATE webpage. I followed following steps:

  1. cd /usr/share/gate (Here, '/usr/share/gate' is obtained using the command 'which Gate', which is the path where GATE was pre-compiled in vGate v 8.2. Verify the path for any other vGate versions you use)
    1. cd Gate-build
    2. sudo ccmake ../Gate (May need to install ccmake if not already installed). You will then be prompted with a screen, where you need to modify 'GATE_USE_DAVIS → ON'
    3. sudo make -jN (where, N is the number of processor(s) in your PC)
    4. sudo make install
tangren-tech commented 7 months ago

Following Method worked for me to enable LUT Davis model in vGate8.2: If the LUT Data is not read correctly and if we still want to use LUT from UC Davis model for defining surface boundaries (alternatively, UNIFIED model can be used and any of steps below needn't be taken), we need to recompile vGate to enable UCDavis model using the 'sudo' privilege. More details of the compile process can be found in the 'Gettings started → Compiling GATE V9.2' section in main GATE webpage. I followed following steps:

1. cd /usr/share/gate (Here, '/usr/share/gate' is obtained using the command 'which Gate', which is the path where GATE was pre-compiled in vGate v 8.2. Verify the path for any other vGate versions you use)

2. cd Gate-build

3. sudo ccmake ../Gate (May need to install ccmake if not already installed). You will then be prompted with a screen, where you need to modify 'GATE_USE_DAVIS → ON'

4. sudo make -jN (where, N is the number of processor(s) in your PC)

5. sudo make install

Do I need to uninstall and re-download the installed gate in VGate to do this

tangren-tech commented 5 months ago

LUTs.gar installtion package not found