Working first version of AnalyseInstrumentStatic.py