-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notes from a usability discussion with JJ Hermes #8
Comments
Note, I'll be working on some of these in my fork. Another goal would be to either make this a standalone tool, or integrate it into an existing tool like |
Working on this with @mirca right now. We are making a |
Woohoo! we got it working as a command line interface (CLI). You can now do, for example: k2pix ../ktwo211348409-c05_lpd-targ.fits.gz --survey='DSS' The default argparse behavior needs to be tweaked, and that's on our radar (see above also), but just having the tool "pip installable" is useful.
Huge thanks to Ze for helping me navigate the subtleties of $ k2pix --help
usage: k2pix [-h] [-v] [--output FILENAME] [--survey SURVEY]
[--stretch STRETCH] [--min_percent %] [--max_percent %]
[--cmap CMAP] [--contour_color CONTOUR_COLOR]
tpf_filename [tpf_filename ...]
Plots a co-added Target Pixel File (TPF) from NASA's Kepler/K2/TESS with a
survey image overlaid.
positional arguments:
tpf_filename path to one or more Target Pixel Files (TPF)
optional arguments:
-h, --help show this help message and exit
-v, --verbose
--output FILENAME .gif or .mp4 output filename (default: gif with the
same name as the input file)
--survey SURVEY survey (available in skyview) to overlay on the K2
image.
--stretch STRETCH type of contrast stretching: "linear", "sqrt",
"power", "log", or "asinh" (default is "log")
--min_percent % minimum cut percentile (default: 1.0)
--max_percent % maximum cut percentile (default: 95)
--cmap CMAP matplotlib color map name (default: gray)
--contour_color CONTOUR_COLOR
matplotlib color name (default: red) |
[WiP] Usability improvements related to discussion with JJ Hermes (Issue #8)
I'm talking with JJ Hermes about making some usability improvements to this tool:
The text was updated successfully, but these errors were encountered: