AstroServer/astroDB_cache
yangchenwo 3d32ce125d insertion component 2017-10-23 21:13:07 +08:00
..
.idea insertion component 2017-10-23 21:13:07 +08:00
cmake-build-debug insertion component 2017-10-23 21:13:07 +08:00
config insertion component 2017-10-23 21:13:07 +08:00
data insertion component 2017-10-23 21:13:07 +08:00
doc insertion component 2017-10-23 21:13:07 +08:00
include insertion component 2017-10-23 21:13:07 +08:00
lib insertion component 2017-10-23 21:13:07 +08:00
src insertion component 2017-10-23 21:13:07 +08:00
template_table insertion component 2017-10-23 21:13:07 +08:00
1.txt insertion component 2017-10-23 21:13:07 +08:00
CMakeLists.txt insertion component 2017-10-23 21:13:07 +08:00
RA240_DEC10_template insertion component 2017-10-23 21:13:07 +08:00
README.md insertion component 2017-10-23 21:13:07 +08:00
cmd insertion component 2017-10-23 21:13:07 +08:00
multiThreadTest insertion component 2017-10-23 21:13:07 +08:00

README.md

Squirrel

Makefile is the Netbeans IDE's default auto compile. Makefile1 is used for manual compile.

to compile run command: make -f Makefile1

run example ./crossmatch -method sphere -grid 4,4 -errorRadius 0.06 -fitsHDU 3 -ref data/P_130112_25d4458_33d9878-210.Fcat -sample data/P_130112_25d4458_33d9878-119.Fcat -dbConfigFile data/database_config.txt -fluxSDTimes 1 ./crossmatch -method plane -g 4,4 -errorRadius 1.5 -searchRadius 50 -width 3096 -height 3096 -fitsHDU 3 -ref data/P_130112_25d4458_33d9878-210.Fcat -sample data/P_130112_25d4458_33d9878-119.Fcat -dbConfigFile data/database_config.txt -fluxSDTimes 1

note: 1,remember add library/astrometry.net-0.38/lib to LD_LIBRARY_PATH export LD_LIBRARY_PATH=project_path/library/astrometry.net-0.38/lib:${LD_LIBRARY_PATH}

2,install libpq-dev library to use postgres database for Ubuntu systems: sudo apt-get install libpq-dev for RHEL systems: yum install postgresql-devel for Mac: brew install postgresql

4, head file path RHEL: /usr/include/postgresql/libpq-fe.h

3,library path Ubuntu: /usr/lib/postgresql/9.3/ RHEL: /usr/include/postgresql

netbeans run command for crassmatch "${OUTPUT_PATH}" -method plane -grid 4,4 -errorRadius 1.5 -searchRadius 50 -fitsHDU 3 -ref data/ref.Fcat -sample data/M3_05_141025_1_074020_0873.Fcat -dbConfigFile config/database_config.txt -width 3016 -height 3016 for createtable "${OUTPUT_PATH}" -c 20151111