These are chat archives for astropy/astropy

21st
Feb 2017
prajwel
@prajwel
Feb 21 2017 09:04
Helloooo :smile:
Does Astropy (or any of the affiliated packages) has a way to estimate the ellipticity and position angle? I tried with fitting a 2DGaussian model, but that doesn't seem to work very well for bad stars. I am looking for something which could replace IRAF psfmeasure routine.
prajwel
@prajwel
Feb 21 2017 10:49
quite good, I must say.
prajwel
@prajwel
Feb 21 2017 13:36

Hi, I would like to make a symmetric gaussian2D model; I am guessing that the "tied" parameter will help me to do that.

g_init=models.Gaussian2D(1,8,8,1,1)

How do I tie the y_stddev and x_stddev together in the above function?

Zé Vinícius
@mirca
Feb 21 2017 14:27
Hi prajwel
you can do something like:
def tie(model): return model.ystddev
VSN Reddy Janga
@janga1997
Feb 21 2017 14:28
@mirca Is this a good place to ask questions about the gsoc projects?
Zé Vinícius
@mirca
Feb 21 2017 14:28
and then g_init.x_stddev.tied = tie
Zé Vinícius
@mirca
Feb 21 2017 14:37
Hi @janga1997, well, I’m not the right person to answer this question, but I would say, don’t be shy ;-) Also, you may would like to checkout the OpenAstronomy gitter/slack/matrix channel and the OpenAstronomy Google group: openastronomy@googlegroups.com
@prajwel You may find this page useful: http://docs.astropy.org/en/stable/modeling/fitting.html ;)
prajwel
@prajwel
Feb 21 2017 15:21
@mirca Thanks again! :yellow_heart: :smile:
VSN Reddy Janga
@janga1997
Feb 21 2017 15:51
@eteq I see that you are mentoring for the project of implementing distribution support for quantity.
That seems like something I could do, as I am currently taking a course in Statistics and have done work in Python.
any tips to get started on forming an idea about the project?
Brigitta Sipocz
@bsipocz
Feb 21 2017 16:27
@janga1997 - You may have seen that project in an ideas list for a previous year. Projects proposed for this year are listed here: http://openastronomy.org/gsoc/gsoc2017/
VSN Reddy Janga
@janga1997
Feb 21 2017 16:28
Yes, It was pointed out to me. Thanks anyway..
Brigitta Sipocz
@bsipocz
Feb 21 2017 16:28
please note though that our organization is not yet accepted for gsoc, we expect to recieve google's decision next week, so projects may change.
VSN Reddy Janga
@janga1997
Feb 21 2017 16:29
I understand that. But I assume astropy has a very good chance of being accepted.
Brigitta Sipocz
@bsipocz
Feb 21 2017 16:30
:)
Adam Ginsburg
@keflavich
Feb 21 2017 20:47