Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPC_Imaging
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Claudio Gheller
HPC_Imaging
Commits
36a65593
Commit
36a65593
authored
Dec 19, 2022
by
Claudio Gheller
Browse files
Options
Downloads
Patches
Plain Diff
filename size parametrized
parent
68ff2ce1
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
inverse-imaging.c
+22
-17
22 additions, 17 deletions
inverse-imaging.c
w-stacking-fftw.c
+19
-20
19 additions, 20 deletions
w-stacking-fftw.c
with
41 additions
and
37 deletions
inverse-imaging.c
+
22
−
17
View file @
36a65593
...
...
@@ -22,6 +22,7 @@
#define MAX(X, Y) (((X) > (Y)) ? (X) : (Y))
#define NOVERBOSE
#define NFILES 100
#define FILENAMELENGTH 30
// Linked List set-up
struct
sectorlist
{
...
...
@@ -56,26 +57,30 @@ int main(int argc, char * argv[])
char
datapath_multi
[
NFILES
][
900
];
// Bin MS files
char
ufile
[
30
]
=
"ucoord.bin"
;
char
vfile
[
30
]
=
"vcoord.bin"
;
char
wfile
[
30
]
=
"wcoord.bin"
;
char
weightsfile
[
30
]
=
"weights.bin"
;
char
visrealfile
[
30
]
=
"visibilities_real.bin"
;
char
visimgfile
[
30
]
=
"visibilities_img.bin"
;
char
metafile
[
30
]
=
"meta.txt"
;
char
ufile
[
FILENAMELENGTH
]
=
"ucoord.bin"
;
char
vfile
[
FILENAMELENGTH
]
=
"vcoord.bin"
;
char
wfile
[
FILENAMELENGTH
]
=
"wcoord.bin"
;
char
weightsfile
[
FILENAMELENGTH
]
=
"weights.bin"
;
char
visrealfile
[
FILENAMELENGTH
]
=
"visibilities_real.bin"
;
char
visimgfile
[
FILENAMELENGTH
]
=
"visibilities_img.bin"
;
char
metafile
[
FILENAMELENGTH
]
=
"meta.txt"
;
// Mesh related files
char
outfile
[
30
]
=
"grid.txt"
;
char
outfile1
[
30
]
=
"coords.txt"
;
char
outfile2
[
30
]
=
"grid_real.bin"
;
char
outfile3
[
30
]
=
"grid_img.bin"
;
char
fftfile
[
30
]
=
"fft.txt"
;
char
fftfile2
[
30
]
=
"fft_real.bin"
;
char
fftfile3
[
30
]
=
"fft_img.bin"
;
char
logfile
[
30
]
=
"run.log"
;
char
extension
[
30
]
=
".txt"
;
char
outfile
[
FILENAMELENGTH
]
=
"grid.txt"
;
char
outfile1
[
FILENAMELENGTH
]
=
"coords.txt"
;
char
outfile2
[
FILENAMELENGTH
]
=
"grid_real.bin"
;
char
outfile3
[
FILENAMELENGTH
]
=
"grid_img.bin"
;
char
fftfile
[
FILENAMELENGTH
]
=
"fft.txt"
;
char
fftfile2
[
FILENAMELENGTH
]
=
"fft_real.bin"
;
char
fftfile3
[
FILENAMELENGTH
]
=
"fft_img.bin"
;
char
logfile
[
FILENAMELENGTH
]
=
"run.log"
;
char
extension
[
FILENAMELENGTH
]
=
".txt"
;
char
srank
[
4
];
char
timingfile
[
30
]
=
"timings.dat"
;
char
timingfile
[
FILENAMELENGTH
]
=
"timings.dat"
;
// Image related files
char
imagepath
[
900
]
=
"./"
imagename
[
FILENAMELENGTH
]
=
"image_name.bin"
// Visibilities related variables
double
*
uu
;
...
...
This diff is collapsed.
Click to expand it.
w-stacking-fftw.c
+
19
−
20
View file @
36a65593
...
...
@@ -22,6 +22,7 @@
#define MAX(X, Y) (((X) > (Y)) ? (X) : (Y))
#define NOVERBOSE
#define NFILES 100
#define FILENAMELENGTH 30
// Linked List set-up
struct
sectorlist
{
...
...
@@ -54,28 +55,26 @@ int main(int argc, char * argv[])
// MS paths
char
datapath
[
900
];
char
datapath_multi
[
NFILES
][
900
];
// Bin MS files
char
ufile
[
30
]
=
"ucoord.bin"
;
char
vfile
[
30
]
=
"vcoord.bin"
;
char
wfile
[
30
]
=
"wcoord.bin"
;
char
weightsfile
[
30
]
=
"weights.bin"
;
char
visrealfile
[
30
]
=
"visibilities_real.bin"
;
char
visimgfile
[
30
]
=
"visibilities_img.bin"
;
char
metafile
[
30
]
=
"meta.txt"
;
char
ufile
[
FILENAMELENGTH
]
=
"ucoord.bin"
;
char
vfile
[
FILENAMELENGTH
]
=
"vcoord.bin"
;
char
wfile
[
FILENAMELENGTH
]
=
"wcoord.bin"
;
char
weightsfile
[
FILENAMELENGTH
]
=
"weights.bin"
;
char
visrealfile
[
FILENAMELENGTH
]
=
"visibilities_real.bin"
;
char
visimgfile
[
FILENAMELENGTH
]
=
"visibilities_img.bin"
;
char
metafile
[
FILENAMELENGTH
]
=
"meta.txt"
;
// Mesh related files
char
outfile
[
30
]
=
"grid.txt"
;
char
outfile1
[
30
]
=
"coords.txt"
;
char
outfile2
[
30
]
=
"grid_real.bin"
;
char
outfile3
[
30
]
=
"grid_img.bin"
;
char
fftfile
[
30
]
=
"fft.txt"
;
char
fftfile2
[
30
]
=
"fft_real.bin"
;
char
fftfile3
[
30
]
=
"fft_img.bin"
;
char
logfile
[
30
]
=
"run.log"
;
char
extension
[
30
]
=
".txt"
;
char
outfile
[
FILENAMELENGTH
]
=
"grid.txt"
;
char
outfile1
[
FILENAMELENGTH
]
=
"coords.txt"
;
char
outfile2
[
FILENAMELENGTH
]
=
"grid_real.bin"
;
char
outfile3
[
FILENAMELENGTH
]
=
"grid_img.bin"
;
char
fftfile
[
FILENAMELENGTH
]
=
"fft.txt"
;
char
fftfile2
[
FILENAMELENGTH
]
=
"fft_real.bin"
;
char
fftfile3
[
FILENAMELENGTH
]
=
"fft_img.bin"
;
char
logfile
[
FILENAMELENGTH
]
=
"run.log"
;
char
extension
[
FILENAMELENGTH
]
=
".txt"
;
char
srank
[
4
];
char
timingfile
[
30
]
=
"timings.dat"
;
char
timingfile
[
FILENAMELENGTH
]
=
"timings.dat"
;
// Visibilities related variables
double
*
uu
;
...
...
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