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

Fix pysqm/plot.py bug for .ndim on a non-numpy vector (function window_smooth)

parent c53c1693
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ _mysql_port = None # Port of the MySQL server ...@@ -86,7 +86,7 @@ _mysql_port = None # Port of the MySQL server
DIRECTORY settings DIRECTORY settings
------------------ ------------------
''' '''
main_directory = "C:\\PySQM\\data" # Main directory main_directory = "C:\\sqm\\pysqm_data" # Main directory
monthly_data_directory = main_directory + "\\monthly\\" # Monthly (permanent) data monthly_data_directory = main_directory + "\\monthly\\" # Monthly (permanent) data
daily_data_directory = main_directory + "\\daily\\" # Daily (permanent) data daily_data_directory = main_directory + "\\daily\\" # Daily (permanent) data
daily_graph_directory = main_directory + "\\daily\\" # Daily (permanent) graph daily_graph_directory = main_directory + "\\daily\\" # Daily (permanent) graph
......
...@@ -354,8 +354,8 @@ class SQMData(object): ...@@ -354,8 +354,8 @@ class SQMData(object):
print((\ print((\
'Warning, < 10 points in astronomical night, '+\ 'Warning, < 10 points in astronomical night, '+\
' using the whole night data instead')) ' using the whole night data instead'))
self.astronomical_night_sb = self.all_night_sb self.astronomical_night_sb = np.array(self.all_night_sb)
self.astronomical_night_temp = self.all_night_temp self.astronomical_night_temp = np.array(self.all_night_temp)
Stat = self.Statistics Stat = self.Statistics
#with self.Statistics as Stat: #with self.Statistics as Stat:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment