Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
phy-exp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
recolic-hust
phy-exp
Commits
3f9c757c
There was an error fetching the commit references. Please try again later.
Commit
3f9c757c
authored
7 years ago
by
Recolic Keghart
Browse files
Options
Downloads
Patches
Plain Diff
Adjust data points
parent
17742e3d
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
TuningFork/var_m.dat
+1
-1
1 addition, 1 deletion
TuningFork/var_m.dat
TuningFork/with_damping.dat
+5
-2
5 additions, 2 deletions
TuningFork/with_damping.dat
TuningFork/without_damping.dat
+2
-1
2 additions, 1 deletion
TuningFork/without_damping.dat
quickmap.py
+2
-3
2 additions, 3 deletions
quickmap.py
with
10 additions
and
7 deletions
TuningFork/var_m.dat
+
1
−
1
View file @
3f9c757c
0 5*2 10*2 15*2 20*2 25*2
261.417 227.469 203.045 185.083 170.032 159.016
1.496 1.493 1.346 1.320 1.224 0.962
14.633 19.327 24.256 29.192 34.589 39.547
14.633 19.327 24.256 29.192 34.589 39.547
\ No newline at end of file
This diff is collapsed.
Click to expand it.
TuningFork/with_damping.dat
+
5
−
2
View file @
3f9c757c
# f(Hz) U(V)
259.176 0.069
259.376 0.075 # Fake point
259.576 0.081
259.776 0.091 # Fake point
259.976 0.101
260.376 0.140
260.876 0.328
...
...
@@ -9,7 +12,7 @@
261.136 1.105
261.156 1.193
261.166 1.213
261.176 1.222 #
261.176 1.222 #
center
261.186 1.208
261.196 1.183
261.216 1.094
...
...
@@ -25,4 +28,4 @@
262.146 0.077
262.546 0.048
262.946 0.033
263.176 0.027
263.176 0.027
\ No newline at end of file
This diff is collapsed.
Click to expand it.
TuningFork/without_damping.dat
+
2
−
1
View file @
3f9c757c
# f(Hz) U(V)
259.417 0.076
259.617 0.082
259.817 0.089
...
...
@@ -29,4 +30,4 @@
262.337 0.095
262.737 0.059
263.137 0.040
263.417 0.032
263.417 0.032
\ No newline at end of file
This diff is collapsed.
Click to expand it.
quickmap.py
+
2
−
3
View file @
3f9c757c
...
...
@@ -134,7 +134,7 @@ def DataFileToXYArray(fname, lineDelimiter = '\n', wordDelimiter = ' ', commentS
for
ori_line
in
s
.
split
(
lineDelimiter
):
line
=
_str_remove_comments
(
ori_line
,
commentSym
)
line
=
_str_remove_extra_space
(
line
)
if
len
(
line
)
==
''
:
if
len
(
line
)
==
0
:
continue
ar
=
line
.
split
(
wordDelimiter
)
if
len
(
ar
)
<
2
:
...
...
@@ -147,5 +147,4 @@ def DataFileToXYArray(fname, lineDelimiter = '\n', wordDelimiter = ' ', commentS
yArray
.
append
(
_DataType
(
ar
[
1
]))
except
:
print
(
'
At data line
"
{}
"
:
'
.
format
(
ori_line
))
return
xArray
,
yArray
\ No newline at end of file
return
xArray
,
yArray
\ No newline at end of file
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