Skip to content
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

visualization contours #278

Open
amanda-olmo opened this issue Mar 3, 2020 · 1 comment
Open

visualization contours #278

amanda-olmo opened this issue Mar 3, 2020 · 1 comment
Assignees
Labels

Comments

@amanda-olmo
Copy link

I can not draw contours with visualization. I am using the latest development version of megaradrp. However, it works fine in my laptop.

python -m megaradrp.visualization mrk324_f0_ha.fits --contour --contour-image mrk324_f2_ha.fits --contour-image-column 2 -c 7
usage: visualization.py [-h] [--wcs-grid] [--wcs-pa-from-header]
[--average-region AVERAGE_REGION AVERAGE_REGION]
[--extname EXTNAME] [--column COLUMN]
[--continuum-region CONTINUUM_REGION CONTINUUM_REGION]
[--coordinate-type {pixel,wcs}] [--colormap COLORMAP]
[--plot-sky] [--plot-nominal-config] [--hide-values]
[--title TITLE] [--label LABEL] [--hex-size HEX_SIZE]
[--hex-rel-size HEX_REL_SIZE] [--min-cut MIN_CUT]
[--max-cut MAX_CUT] [--percent PERCENT]
[--stretch {linear,sqrt,power,log,asinh}]
RSS [RSS ...]
visualization.py: error: unrecognized arguments: --contour --contour-image mrk324_f2_ha.fits --contour-image-column 2

@sergiopasra sergiopasra self-assigned this Mar 20, 2020
@sergiopasra
Copy link
Member

For contouring you need the cube extension. Check that you have the required module around here:

from megaradrp.processing.cube import create_cube_from_rss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants