Skip to content

Latest commit

 

History

321 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation and setup

Required softwares

Setting up the environment

Set the environment in your .bashrc or .bash_profile:

function Xgam_env {
	echo 'Setting Xgam environment...'
	conda activate fermi
	export PYTHONPATH=:/path/to/this/package/:${PYTHONPATH}
 	export PATH=/path/to/this/package/Xgam/bin:${PATH}
	export P8_DATA=/path/to/data_files
	echo 'done.'}

Change the directory where the data files are stored in init.py (line 35):

FT_DATA_FOLDER = '/path/to/data_files'

In the data directory should there be the following folders:

  • photon/ -> where FT1 files are stored
  • spacecraft/ -> where FT2 files are stored
  • output/ -> where ST outputs will be stored

Docker alternative

See the dedicated wiki page.

How to run the analysis

This will show all the possible settings of a given function in bin/ :

 python bin/mkAnyFunction.py -h 

Some more details can be found in the Wiki of this project:

https://github.com/nmik/Xgam/wiki

(A more detailed documentation will be soon available).

About

Cross-correlations using gamma-ray data

Resources

Stars

2 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages