Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
einsteinathome
pulsatingscience
Commits
8d9ea95d
Commit
8d9ea95d
authored
Sep 14, 2017
by
Bruce Allen
Browse files
Get rid of some scaffolding
parent
9f1c79b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/antenna_lib.cpp
View file @
8d9ea95d
...
...
@@ -360,13 +360,16 @@ void get_antenna(struct OutputStruct *out, struct InputStruct *in) {
out
->
amp
[
i
]
=
amp
;
out
->
phase
[
i
]
=
ang
-
2
*
psi
*
ci
/
deg_to_rad
;
out
->
dt
[
i
]
=
dt
;
fprintf
(
stderr
,
"ang = %f psi = %f ci =% f
\n
"
,
ang
,
psi
/
deg_to_rad
,
ci
);
#ifdef DEBUG
// degree character in UTF-8 character set (most likely terminal type!)
int
deg1
=
0xC2
,
deg2
=
0xB0
;
fprintf
(
stderr
,
"For detector %s the waveform is %.3f w^2 sin(2w[t%+.1f ms]%+.1f%c%c)
\n
"
,
detectors
[
i
].
name
,
amp
,
dt
,
ang
,
deg1
,
deg2
);
fprintf
(
stderr
,
"For detector %s"
"the waveform is %.3f"
" w^2 sin(2w[t%+.1f ms]%+.1f%c%c)
\n
"
,
detectors
[
i
].
name
,
amp
,
dt
,
ang
,
deg1
,
deg2
);
#endif
}
return
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment