Skip to content

Commit

Permalink
Merge pull request #457 from cyriltasse/mr_small_fixes
Browse files Browse the repository at this point in the history
small updates to README.rst and data type changes in the gridder
  • Loading branch information
ratt-priv-ci authored Jan 29, 2018
2 parents b42cede + 10d50d2 commit 472821f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions DDFacet/Gridder/GridderSmearPols.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,10 @@ void griddername(PyArrayObject *grid, \
/* advance pointer to next blocklist*/\
StartRow += NRowBlocks[iBlock];\
\
float Umean=0;\
float Vmean=0;\
float Wmean=0;\
float FreqMean=0;\
double Umean=0;\
double Vmean=0;\
double Wmean=0;\
double FreqMean=0;\
int NVisThisblock=0;\
for(ThisPol =0; ThisPol<4;ThisPol++){\
Vis[ThisPol]=0;\
Expand Down Expand Up @@ -1486,10 +1486,10 @@ void degriddername(PyArrayObject *grid, \
StartRow += NRowBlocks[iBlock];\
\
float complex Vis[4]={0};\
float Umean=0;\
float Vmean=0;\
float Wmean=0;\
float FreqMean=0;\
double Umean=0;\
double Vmean=0;\
double Wmean=0;\
double FreqMean=0;\
int NVisThisblock=0;\
\
float visChanMean=0.;\
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ To setup your local development environment navigate clone DDFacet and run::
(ddfvenv) $ cd DDFacet
(ddfvenv) $ git submodule update --init --recursive
(ddfvenv) $ cd ..
(ddfvenv) $ pip install -r requirements.txt
(ddfvenv) $ pip install -r DDFacet/requirements.txt
(ddfvenv) $ pip install -e DDFacet/
#To (re-)build the backend in your checked out folder:
(ddfvenv) $ cd DDFacet
Expand Down Expand Up @@ -210,7 +210,7 @@ Each of the test cases is labeled by a class name and has reference images and a
name, ie. if the test case that has failed is called "TestWidefieldDirty" the reference images will be called the same. You should investigate the reason for any severe discrepancies between the output of the test case and the images produced by your changed codebase. See the docstring at the top of the class ClassCompareFITSImage for help and
filename conventions.

Acceptance test data can be found on the Jenkins server in the **/data/test-data** directory.
Acceptance test data can be found on the Jenkins server in the **/var/lib/jenkins/test-data** directory.

Adding more tests and creating new reference images.
---------------------------------------------------------
Expand Down

0 comments on commit 472821f

Please sign in to comment.