Skip to content
Snippets Groups Projects
Commit 93a0e0da authored by Dario Barghini's avatar Dario Barghini
Browse files

Fixed plot superscripts

parent c72bdbcc
No related branches found
No related tags found
No related merge requests found
...@@ -449,10 +449,10 @@ class Plot(object): ...@@ -449,10 +449,10 @@ class Plot(object):
self.thegraph_sunalt.set_title(\ self.thegraph_sunalt.set_title(\
'Sky Brightness ('+config._device_shorttype+'-'+\ 'Sky Brightness ('+config._device_shorttype+'_'+\
config._observatory_name+')\n',fontsize='x-large') config._observatory_name+')\n',fontsize='x-large')
self.thegraph_sunalt.set_xlabel('Solar altitude (deg)',fontsize='large') self.thegraph_sunalt.set_xlabel('Solar altitude (deg)',fontsize='large')
self.thegraph_sunalt.set_ylabel('Sky Brightness (mag/arcsec2)',fontsize='medium') self.thegraph_sunalt.set_ylabel('Sky Brightness (mag/$\mathregular{arcsec^2}$)',fontsize='medium')
# Auxiliary plot (Temperature) # Auxiliary plot (Temperature)
''' '''
...@@ -495,7 +495,7 @@ class Plot(object): ...@@ -495,7 +495,7 @@ class Plot(object):
#self.thegraph_time.set_title('Sky Brightness (SQM-'+config._observatory_name+')',\ #self.thegraph_time.set_title('Sky Brightness (SQM-'+config._observatory_name+')',\
# fontsize='x-large') # fontsize='x-large')
self.thegraph_time.set_xlabel('Time (UTC'+UTC_offset_label+')',fontsize='large') self.thegraph_time.set_xlabel('Time (UTC'+UTC_offset_label+')',fontsize='large')
self.thegraph_time.set_ylabel('Sky Brightness (mag/arcsec2)',fontsize='medium') self.thegraph_time.set_ylabel('Sky Brightness (mag/$\mathregular{arcsec^2}$)',fontsize='medium')
# Auxiliary plot (Temperature) # Auxiliary plot (Temperature)
''' '''
...@@ -596,7 +596,7 @@ class Plot(object): ...@@ -596,7 +596,7 @@ class Plot(object):
aftermidnight_label = str(Data.aftermidnight.label_dates).replace('[','').replace(']','') aftermidnight_label = str(Data.aftermidnight.label_dates).replace('[','').replace(']','')
self.thegraph_sunalt.text(0.00,1.015,\ self.thegraph_sunalt.text(0.00,1.015,\
config._device_shorttype+'-'+config._observatory_name+' '*5+'Serial #'+str(Data.serial_number),\ config._device_shorttype+'_'+config._observatory_name+' '*5+'Serial #'+str(Data.serial_number),\
color='0.25',fontsize='small',fontname='monospace',\ color='0.25',fontsize='small',fontname='monospace',\
transform = self.thegraph_sunalt.transAxes) transform = self.thegraph_sunalt.transAxes)
...@@ -677,7 +677,7 @@ class Plot(object): ...@@ -677,7 +677,7 @@ class Plot(object):
aftermidnight_label = str(Data.aftermidnight.label_dates).replace('[','').replace(']','') aftermidnight_label = str(Data.aftermidnight.label_dates).replace('[','').replace(']','')
self.thegraph_time.text(0.00,1.015,\ self.thegraph_time.text(0.00,1.015,\
config._device_shorttype+'-'+config._observatory_name+' '*5+'Serial #'+str(Data.serial_number),\ config._device_shorttype+'_'+config._observatory_name+' '*5+'Serial #'+str(Data.serial_number),\
color='0.25',fontsize='small',fontname='monospace',\ color='0.25',fontsize='small',fontname='monospace',\
transform = self.thegraph_time.transAxes) transform = self.thegraph_time.transAxes)
...@@ -711,10 +711,10 @@ def save_stats_to_file(Night,NSBData,Ephem): ...@@ -711,10 +711,10 @@ def save_stats_to_file(Night,NSBData,Ephem):
'# Col 1: Date\n'+\ '# Col 1: Date\n'+\
'# Col 2: Total measures\n'+\ '# Col 2: Total measures\n'+\
'# Col 3: Number of Best NSB measures\n'+\ '# Col 3: Number of Best NSB measures\n'+\
'# Col 4: Median of best N NSBs (mag/arcsec2)\n'+\ '# Col 4: Median of best N NSBs (mag/arcsec^2)\n'+\
'# Col 5: Err in the median of best N NSBs (mag/arcsec2)\n'+\ '# Col 5: Err in the median of best N NSBs (mag/arcsec^2)\n'+\
'# Col 6: Window size for the smoothing function\n'+\ '# Col 6: Window size for the smoothing function\n'+\
'# Col 7: Mean of Abs diff of NSBs data - fourier model (mag/arcsec2)\n'+\ '# Col 7: Mean of Abs diff of NSBs data - fourier model (mag/arcsec^2)\n'+\
'# Col 8: Min Temp (C) between astronomical twilights\n'+\ '# Col 8: Min Temp (C) between astronomical twilights\n'+\
'# Col 9: Max Temp (C) between astronomical twilights\n\n' '# Col 9: Max Temp (C) between astronomical twilights\n\n'
#'# Col 6: Number of terms of the low-freq fourier model\n'+\ #'# Col 6: Number of terms of the low-freq fourier model\n'+\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment