various utilities for unpacking and analyzing .fits files
Project description
ok so here's the rundown on all this stuff:
unpack_folder.py: - can unpack and relocate an entire folder of files compressed with fpack - deals with all the necessary renaming as well as deletes the compressed versions - usage: python unpack_folder.py infolderpath outfolderpath - if no outfolderpath is given, it will unpack them in infolder - paths can be with or without slash at the end
noise_info.py - analyzes background noise in chunks of arbitrary size(default=15 pixels) - returns a median/mean pixel value, matrix of each chunk's mean/median and a matrix of their standard deviations - can make plot of means/medians vs stds, and 3d plot of each chunk's mean/median - has a rather extensive ui including multiple, gradually increasing in computational overkill, methods of file searching for the lazy - will also automatically display when run in X window Usage: python noise_info path/to/file
fim.py - does everything noise_info can - everything you need to operate/change it is in default.cfg, just change the values and rerun -
paths.py - stabilizes pathing accross accounts and machines - please add and use it as much as possible - but also dont change anything already there - gives you access to all path names pre-stored under variables
difference.py - this was a bid of a pipedream longshot from the start - just finds difference between fits files from SExtractor's perspective - good use of k-d tree if you wanna use the code for similar projects
flats_noise.py - i barely remember making this one - from when i was going insane trying to figure out how to denoise and renoise images - statistical nonsense
get_sources.py - SExtractor script, hardcoded to draw from my(Benny) own settings
gaussian.py - adds a pixel offset but radially symmetric, gaussian "star" at a randomized point around a specific point(typically galaxies) - the offset adds surprisingly accurate radial irregularities - uniformly randomizes sigma of gaussian to be between siga and sigb - uniformly randomizes amp of gaussian - also randomizes placement around specified point (done in radial coordinate and transformed back to cartesian) - used by gym_teacher.py
gym_teacher.py - named gym teacher because it comes up with "games" to train the ai - takes in a folder of unpacked fits files and injects randomized new stars into them around both the most galaxylike galaxies - if there arent enough "galaxy-like" galaxies, it starts to pick random spots to fill its ranks - for each file it records name, star placements, star sigma, star amp, and star array size for each file in folder under starcoords.xml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file futility-0.3.4.tar.gz.
File metadata
- Download URL: futility-0.3.4.tar.gz
- Upload date:
- Size: 62.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4f56f6e30e1f5cd254366140e052667ec81a63516af8c3b2305f10913239080
|
|
| MD5 |
82c4b55edb1200f17566fbafb3771e77
|
|
| BLAKE2b-256 |
a8e4c316df817e8b1de427d8d32102655711c30b1f305178228fef474a44114b
|
File details
Details for the file futility-0.3.4-py3-none-any.whl.
File metadata
- Download URL: futility-0.3.4-py3-none-any.whl
- Upload date:
- Size: 62.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e71ecb537b2daa903b02aaf663f99468fbc19f61bafa017554fdc578e9925ef5
|
|
| MD5 |
104a38c050ebc04521714169bb21f6e3
|
|
| BLAKE2b-256 |
84142b72a685f178264b17eb3b9e52f97217c53a311305041d4f5da757d6828d
|