Skip to content

Make stellar catalogs from simulated halo data. Halo input data provided comes from Galaxia output. Any Numpy Array px,py,pz data will work but will need to be first run through my skysurvey grid maker. This is still in beta. STIPS file output support addition is soon to come.

License

Notifications You must be signed in to change notification settings

swc2124/starcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Starcat

Make stellar catalogs from simulated halos. Screenshot

Getting started

1. Clone this repo onto your local machine.

Screenshot

git clone https://github.com/swc2124/starcat.git

2. Enter into the directory starcat/starcat

cd starcat/starcat

3. Run "python starcat_gui.py"

python starcat_gui.py

4. From the top menu select Halo>Select Halo.

Screenshot

5. Select a halo grid file.

Screenshot

6. From the top menu select Plot>Set Units to set plot units & Replot.

Screenshot

7. You can also select the detector from Menu>Region>Detectors.

Screenshot

8. Over the halo plot, right-click and select region:

Screenshot

Screenshot

10. Example output

 catalogs/
    |
    ├── halo08/                         <-- each halo's output directory
    |     |
    │     ├── halo08.png                <-- main plot with regions marked
    │     ├── halo08_cb.png             <-- color bar
    │     ├── R 1.fits                  <-- fits table for region
    │     ├── R 2.fits
    │     ├── R 3.fits
    │     └── recordtable.txt           <-- txt table with basic stats
    |
    ├── halo10/
    |     |
    │     ├── halo10.png
    │     ├── halo10_cb.png
    │     ├── R 1.fits
    │     ├── R 2.fits
    │     ├── R 3.fits
    │     └── recordtable.txt
    |
    └── halo17/
          |
          ├── halo17.png
          ├── halo17_cb.png
          ├── R 1.fits
          ├── R 2.fits
          ├── R 3.fits
          └── recordtable.txt

Complete file system

 starcat/
    ├── .gitignore
    ├── .pypirc
    ├── data/
    │   ├── catalogs/
    │   ├── grids/
    │   │   ├── halo02_4.0Mpc_h158_grid.npy
    │   │   ├── halo05_4.0Mpc_h158_grid.npy
    │   │   ├── halo08_4.0Mpc_h158_grid.npy
    │   │   ├── halo09_4.0Mpc_h158_grid.npy
    │   │   ├── halo10_4.0Mpc_h158_grid.npy
    │   │   ├── halo12_4.0Mpc_h158_grid.npy
    │   │   ├── halo14_4.0Mpc_h158_grid.npy
    │   │   ├── halo15_4.0Mpc_h158_grid.npy
    │   │   ├── halo17_4.0Mpc_h158_grid.npy
    │   │   └── halo20_4.0Mpc_h158_grid.npy
    │   ├── plots/
    │   ├── saved/
    │   └── tables/
    │       ├── halo02_4.0Mpc_CMD_table.hdf5
    │       ├── halo02_4.0Mpc_h158_table.hdf5
    │       ├── halo02_4.0Mpc_pxpy_table.hdf5
    │       ├── halo05_4.0Mpc_CMD_table.hdf5
    │       ├── halo05_4.0Mpc_h158_table.hdf5
    │       ├── halo05_4.0Mpc_pxpy_table.hdf5
    │       ├── halo08_4.0Mpc_CMD_table.hdf5
    │       ├── halo08_4.0Mpc_h158_table.hdf5
    │       ├── halo08_4.0Mpc_pxpy_table.hdf5
    │       ├── halo09_4.0Mpc_CMD_table.hdf5
    │       ├── halo09_4.0Mpc_h158_table.hdf5
    │       ├── halo09_4.0Mpc_pxpy_table.hdf5
    │       ├── halo10_4.0Mpc_CMD_table.hdf5
    │       ├── halo10_4.0Mpc_h158_table.hdf5
    │       ├── halo10_4.0Mpc_pxpy_table.hdf5
    │       ├── halo12_4.0Mpc_CMD_table.hdf5
    │       ├── halo12_4.0Mpc_h158_table.hdf5
    │       ├── halo12_4.0Mpc_pxpy_table.hdf5
    │       ├── halo14_4.0Mpc_CMD_table.hdf5
    │       ├── halo14_4.0Mpc_h158_table.hdf5
    │       ├── halo14_4.0Mpc_pxpy_table.hdf5
    │       ├── halo15_4.0Mpc_CMD_table.hdf5
    │       ├── halo15_4.0Mpc_h158_table.hdf5
    │       ├── halo15_4.0Mpc_pxpy_table.hdf5
    │       ├── halo17_4.0Mpc_CMD_table.hdf5
    │       ├── halo17_4.0Mpc_h158_table.hdf5
    │       ├── halo17_4.0Mpc_pxpy_table.hdf5
    │       ├── halo20_4.0Mpc_CMD_table.hdf5
    │       ├── halo20_4.0Mpc_h158_table.hdf5
    │       ├── halo20_4.0Mpc_pxpy_table.hdf5
    │       ├── satprop.ebf
    │       ├── table_works.ipynb
    │       └── testtable.txt
    ├── LICENSE.txt
    ├── MANIFEST.in
    ├── notebooks/
    │   ├── FileTreePrinter.ipynb
    │   ├── heatmap selector.ipynb
    │   ├── JobQueue.ipynb
    │   ├── position_catalog.ipynb
    │   └── tree.txt
    ├── README.md
    ├── README.rst
    ├── setup.py
    └── starcat/
       ├── __init__.py
       ├── gui_plotlib.py
       ├── printlib.py
       ├── starcat_gui.py
       └── starcat_terminal.py

About

Make stellar catalogs from simulated halo data. Halo input data provided comes from Galaxia output. Any Numpy Array px,py,pz data will work but will need to be first run through my skysurvey grid maker. This is still in beta. STIPS file output support addition is soon to come.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published