Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MPIBP-Hummer
BioEM
Commits
658f8096
Commit
658f8096
authored
Apr 20, 2014
by
David Rohr
Browse files
change error message
parent
bbfbdcce
Changes
1
Hide whitespace changes
Inline
Side-by-side
param.cpp
View file @
658f8096
...
...
@@ -227,22 +227,20 @@ int bioem_param::readParameters()
// Envelope should not have a standard deviation greater than Npix/2
if
(
sqrt
(
1.
/
(
(
myfloat_t
)
numberGridPointsDisplaceCenter
*
gridEnvelop
+
startGridEnvelop
))
>
float
(
param_device
.
NumberPixels
)
/
2.0
)
{
cout
<<
"MAX Standar deviation of envelope is larger than Allowed KERNEL Length
"
;
cout
<<
"MAX Standar deviation of envelope is larger than Allowed KERNEL Length
"
;
exit
(
1
);
}
// Envelop param should be positive
if
(
startGridCTF_amp
<
0
||
startGridCTF_amp
>
1
){
cout
<<
"PSF Amplitud should be between 0 and 1
\n
"
;
cout
<<
"PSF Amplitud should be between 0 and 1
\n
"
;
exit
(
1
);
}
if
(
(
myfloat_t
)
numberGridPointsCTF_amp
*
gridCTF_amp
+
startGridCTF_amp
<
0
||
(
myfloat_t
)
numberGridPointsCTF_amp
*
gridCTF_amp
+
startGridCTF_amp
>
1
){
cout
<<
"
PSF Amplitud
should be between 0 and 1
\n
"
;
cout
<<
"
Value
should be between 0 and 1
\n
"
;
exit
(
1
);
}
cout
<<
" +++++++++++++++++++++++++++++++++++++++++
\n
"
;
cout
<<
"Preparing FFTs
\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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