Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nifty_gridder
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ift
nifty_gridder
Commits
e5902284
Commit
e5902284
authored
Jan 16, 2020
by
Martin Reinecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaks
parent
e578b2f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gridder_cxx.h
gridder_cxx.h
+3
-3
No files found.
gridder_cxx.h
View file @
e5902284
...
...
@@ -417,7 +417,7 @@ class ES_Kernel
myassert
(
supp
<
opt_beta
.
size
(),
"bad support size"
);
return
opt_beta
[
supp
];
}
if
(
ofactor
>=
1.
2
)
if
(
ofactor
>=
1.
175
)
{
// empirical, but pretty accurate approximation
static
const
array
<
double
,
16
>
betacorr
{
0
,
0
,
-
0.51
,
-
0.21
,
-
0.1
,
-
0.05
,
-
0.025
,
-
0.0125
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
...
...
@@ -441,7 +441,7 @@ class ES_Kernel
if
(
epssq
>
maxmaperr
[
i
])
return
i
;
myfail
(
"requested epsilon too small - minimum is 1e-13"
);
}
if
(
ofactor
>=
1.
2
)
if
(
ofactor
>=
1.
175
)
{
for
(
size_t
w
=
2
;
w
<
16
;
++
w
)
{
...
...
@@ -632,7 +632,7 @@ class GridderConfig
myassert
(
epsilon
>
0
,
"epsilon must be positive"
);
myassert
(
pixsize_x
>
0
,
"pixsize_x must be positive"
);
myassert
(
pixsize_y
>
0
,
"pixsize_y must be positive"
);
myassert
(
ofactor
>=
1.
2
,
"oversampling factor smaller than 1.2
"
);
myassert
(
ofactor
>=
1.
175
,
"oversampling factor is too small
"
);
auto
tmp
=
correction_factors
(
nu
,
ofactor
,
nx_dirty
/
2
+
1
,
supp
,
nthreads
);
cfu
[
nx_dirty
/
2
]
=
tmp
[
0
];
...
...
Write
Preview
Markdown
is supported
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