Difference between revisions of "LST1Analysis MVA2"

From my_wiki
Jump to: navigation, search
Line 5: Line 5:
 
School scripts/notebooks: '''/fefs/aswg/workspace/analysis-school-2024/cta-lstchain'''
 
School scripts/notebooks: '''/fefs/aswg/workspace/analysis-school-2024/cta-lstchain'''
  
* Open remote connection
+
=== Open remote connection ===
 
<pre style="color: blue">
 
<pre style="color: blue">
 
ssh cp03
 
ssh cp03
Line 19: Line 19:
 
</pre>
 
</pre>
  
* Select good quality data
+
=== Select good quality data ===
 
<pre style="color: blue">
 
<pre style="color: blue">
 
Run notebook:
 
Run notebook:
Line 45: Line 45:
  
  
* DL1 to DL2 Step
+
=== DL1 to DL2 Step ===
 
<pre style="color: blue">
 
<pre style="color: blue">
 
cd /home/monica.vazquez/LST1SCHOOL2024/helpful_scripts
 
cd /home/monica.vazquez/LST1SCHOOL2024/helpful_scripts

Revision as of 10:03, 22 February 2024

LST1 Analysis 2024

Creating DL3 in the La Palma IT cluster

School scripts/notebooks: /fefs/aswg/workspace/analysis-school-2024/cta-lstchain

Open remote connection

ssh cp03

source /fefs/aswg/software/conda/etc/profile.d/conda.sh
conda activate lstchain-v0.10.7
jupyter notebook --no-browser

Link for browser in printout:
http://localhost:88XX/?token=YYYYYYYYYYYY

ssh -NfL localhost:88XX:localhost:88XX monica.vazquez@cp03

Select good quality data

Run notebook:
/home/monica.vazquez/LST1SCHOOL2024/notebooks/data_quality.ipynb

data_quality notebook settings:

files = glob.glob("/fefs/aswg/data/real/OSA/DL1DataCheck_LongTerm/v0.10/2023????/DL1_datacheck_2023*.h5")
source_coordinates = SkyCoord.from_name("Crab Nebula")
max_zenith = 35 * u.deg
first_date = 20230117
last_date  = 20230117

Copy good run list:

/fefs/aswg/data/real/DL1/20230117/v0.10/tailcut84/dl1_LST-1.Run11699.h5
/fefs/aswg/data/real/DL1/20230117/v0.10/tailcut84/dl1_LST-1.Run11700.h5
/fefs/aswg/data/real/DL1/20230117/v0.10/tailcut84/dl1_LST-1.Run11701.h5
/fefs/aswg/data/real/DL1/20230117/v0.10/tailcut84/dl1_LST-1.Run11702.h5
/fefs/aswg/data/real/DL1/20230117/v0.10/tailcut84/dl1_LST-1.Run11703.h5

to /home/monica.vazquez/LST1SCHOOL2024/helpful_scripts/file_list.txt


DL1 to DL2 Step

cd /home/monica.vazquez/LST1SCHOOL2024/helpful_scripts
./launch_dl1_dl2.sh /fefs/aswg/data/models/AllSky/20230927_v0.10.4_crab_tuned/dec_2276 /fefs/aswg/data/models/AllSky/20230927_v0.10.4_crab_tuned/dec_2276/lstchain_config_2023-09-27.json

/fefs/aswg/data/models/AllSky/

Recommended trainings

Model

json

20230927_v0.10.4_crab_tuned/dec_2276 20230927_v0.10.4_crab_tuned/dec_2276/lstchain_config_2023-09-27.json