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

setting parameters for immatch.wcsmap #104

Closed
yas-nakajima opened this issue Sep 30, 2021 · 2 comments
Closed

setting parameters for immatch.wcsmap #104

yas-nakajima opened this issue Sep 30, 2021 · 2 comments

Comments

@yas-nakajima
Copy link

Setting parameters like the following works for , for example, apphot.
[IN]
iraf.apphot.datapars.itime = 10.
print(iraf.apphot.datapars.itime)
[OUT]
10.

It also works for immatch.geotran, however, it doesn't for immatch.wcsmap.
[IN]
iraf.immatch.wcsmap.fitgeom = 'rxyscale'
print(iraf.immatch.wcsmap.fitgeom)
[OUT]
general

Do I miss something?

Using
pyraf 2.1.15
iraf-community 2.16.1+2021.06.14

Thanks.

@olebole
Copy link
Member

olebole commented Oct 1, 2021

Can you reproduce it with the current "main" branch? I get:

>>> from pyraf import iraf
>>> iraf.imgeom()
>>> iraf.immatch()
>>> print(iraf.immatch.wcsmap.fitgeom)
general
>>> iraf.immatch.wcsmap.fitgeom = 'rxyscale'
>>> print(iraf.immatch.wcsmap.fitgeom)
rxyscale

Therefore, I would guess that this will be fixed in the next release.
To try this out, install the current development version with pip:

pip3 install git+https://github.com/iraf-community/pyraf.git

Could you try this and report if it works?

@yas-nakajima
Copy link
Author

It works!

Thanks!

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

No branches or pull requests

2 participants