# how much information shall be logged
import logging
loggingLevel = logging.INFO
loggingFilename = "easyleed.log"

#### IO related ####
####################

# regular expression to extract energy from filename (only used for fits files)
# match between two and three decimal numbers, then lookaround 
IO_energyRegex = "\d{2,3}(?=\.)"

####################
####################

#### GUI related ####
#####################

## GraphicsScene ##
# default radius of a new spot
GraphicsScene_defaultRadius = 10

## QGraphicsSpotView ##
# change in radius of the spot per key press (+/-) in pixel
QGraphicsSpotView_spotSizeChange = 1
# change in position per key press (Arrow keys)
QGraphicsSpotView_bigMove = 1
# change in position per key press if Ctrl pressed
QGraphicsSpotView_smallMove = 0.1

######################
######################

#### Tracking related ####
##########################

# precision of the user input (standard deviation in pixel)
Tracking_inputPrecision = 2
# scale the integration window with changing energy
Tracking_windowScalingOn = True
# minimum radius of the integration window (in pixel)
Tracking_minWindowSize = 5

##########################
##########################
