Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PySQM Darkersky4CE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dario Barghini
PySQM Darkersky4CE
Commits
58d3b273
Commit
58d3b273
authored
5 months ago
by
Dario Barghini
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config.py
+1
-1
1 addition, 1 deletion
config.py
pysqm/plot.py
+2
-2
2 additions, 2 deletions
pysqm/plot.py
with
3 additions
and
3 deletions
config.py
+
1
−
1
View file @
58d3b273
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
pysqm/plot.py
+
2
−
2
View file @
58d3b273
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment