Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suvoooo/gps-ps-helper
Point + Extended Sources in GPS. Simulated data to Inputs & More
https://github.com/suvoooo/gps-ps-helper
Last synced: about 2 months ago
JSON representation
Point + Extended Sources in GPS. Simulated data to Inputs & More
- Host: GitHub
- URL: https://github.com/suvoooo/gps-ps-helper
- Owner: suvoooo
- Created: 2024-10-01T13:47:05.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-26T08:33:04.000Z (about 2 months ago)
- Last Synced: 2024-11-26T09:31:26.307Z (about 2 months ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 6.56 MB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GPS-PS-Helper
Point + Extended Sources in GPS. Simulated data to Inputs & More: Helper Functions`model_txt_to_csv_all.py`: convert the text files containing source params to csv files (better readability)
`lat_lon_to_x_y.npy`: reads the csv file, obtain the source locations in lat, long, turn them into pixel coord, save in csv. Requires [Gammapy](https://gammapy.org/)
`fits_to_npy.py`: convert the fits files to npy array and save them
`modify_mask_switch_off.npy`: check through the folder for .csv and mask fits files and randomly switches off 30 percent of the mask with on_off label on csv file.
`./Example_Patches_JPR/read_fits_check.ipynb`: After running through the previous python files, we visualize some results.