-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstreamFind README.txt
More file actions
64 lines (45 loc) · 2.69 KB
/
streamFind README.txt
File metadata and controls
64 lines (45 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
README for the streamFind set of algorithms for identifying tidal streams in GAIA mock catalogues.
All files (Aquarius .pe.dat and .info.dat) are in this folder.
Each simulation has its own folder of idstream files. the filenameGen script in the corresponding folder
generates the file variable for use in rVrClusterFind4 and phaseSpace_GAIA
Both algorithms are Octave programs, so commands are run in Octave.
REQUIRED PACKAGES:
statistics
image
signal
fits
1) muVt algorithm:
Adapt the pmTanV_init.m script depending on which simulation you want to run data for.
Run the pmTanV_init.m script which initialises filenames, packages and puts you in the correct folder.
phaseSpace_GAIA.m runs the plotting program and outputs density plots and spatial plots of streams in
tangential velocity - proper motion space.
[phaseSpace_GAIAerrors.m runs the same plots but with GAIA errors
phaseSpace_GAIAerrors_nomet.m adds error cuts to the data if required]
Fits images of the density plots are saved in density_fits folder.
These files can be transferred to a linux machine to run the CLUMPFIND function in the CUPID program of the
STARLINK package using:
CUPID is initialised (in the command terminal) using:
export STARLINK_DIR=~/star-2016A/
source $STARLINK_DIR/etc/profile
cupid
The fits file must be converted to NDF format for use with CUPID:
convert
fits2ndf in out
Then the program is run, in CUPID, using:
findclumps in=density_plot out=clumps config = ^config.dat method=fellwalker
Where config.dat is a text file with:
fellwalker.minheight=10
fellwalker.minpix=5
etc as the configuration file parameters for the fellwalker algorithm.
Clumps can be plotted and the number of each plotted over them using the KAPPA program (run command 'kappa'):
display clump_file
listshow clump_file plot=Text
and follow the commands
The original density plot output files are stored in density_fits.
The cluster plots after transfer to linux and back are in cluster_plots.
2) rVr method
Run the rVr_init.m script for initialising the catalogue address, packages and file names. NOTE: must change the data depending on
whether ERRORLESS or ERROR CONVOLVED data is being used as well as the magnitude limit (by default set to Grvs < 16).
Run gmagConv.m in order to convert the G and V magnitude values from the mock catalogues into Grvs data.
Run rVrClusterFind4.m which will load radial velocity and radius data depending on the conditions stated in rVr_init.m; plot a full
plot of vrad against r; plot a filtered density plot; plot the peak finding plot; output the average number of peaks found (not accurate particularly) and save the extracted data to a file within the rVr folder.