From aldcroft at head.cfa.harvard.edu Mon May 8 08:50:20 2017 From: aldcroft at head.cfa.harvard.edu (Aldcroft, Thomas) Date: Mon, 8 May 2017 08:50:20 -0400 Subject: [AstroPy] Google Summer of Code 2017 students announced! Message-ID: Hi everyone, I am pleased to announce that three students have been accepted into the Google Summer of Code to work on Astropy-related projects! The students are (in alphabetical order): *Aarya Patil*: Astropy: A mixin protocol for seamless interoperability (primary mentor: Tom Aldcroft) *Adeel Ahmad*: HiPS client for Python (primary mentor: Christoph Deil) *Ayush Yadav*: Adding additional archives to astroquery - National Optical Astronomy Observatory Science Archive (primary mentor: Adam Ginsburg) If you have any questions about any of the projects, you can contact the primary mentors indicated above. We are currently in what Google calls the 'Community Bonding Period', during which the mentors and students are planning the project in more detail, and where the students are encouraged to participate in discussions on this mailing list and on GitHub. Coding starts on May 30th! Congratulations to the selected students, and thank you to all the students who applied to GSoC to work on the Astropy project this year! Cheers, Tom A -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvmirca at gmail.com Mon May 8 16:40:08 2017 From: jvmirca at gmail.com (=?UTF-8?B?WsOpIFZpbsOtY2l1cw==?=) Date: Mon, 8 May 2017 22:40:08 +0200 Subject: [AstroPy] Google Summer of Code 2017 students announced! In-Reply-To: References: Message-ID: Congratulations *Aarya, **Adeel, *and *Ayush*! I wish you a great summer; make the most out of it! Have fun, Z? On Mon, May 8, 2017 at 2:50 PM, Aldcroft, Thomas < aldcroft at head.cfa.harvard.edu> wrote: > Hi everyone, > > I am pleased to announce that three students have been accepted into the > Google Summer of Code to work on Astropy-related projects! The students > are (in alphabetical order): > > *Aarya Patil*: Astropy: A mixin protocol for seamless interoperability > (primary mentor: Tom Aldcroft) > > *Adeel Ahmad*: HiPS client for Python (primary mentor: Christoph Deil) > > *Ayush Yadav*: Adding additional archives to astroquery - National > Optical Astronomy Observatory Science Archive (primary mentor: Adam > Ginsburg) > > If you have any questions about any of the projects, you can contact the > primary mentors indicated above. > > We are currently in what Google calls the 'Community Bonding Period', > during which the mentors and students are planning the project in more > detail, and where the students are encouraged to participate in discussions > on this mailing list and on GitHub. Coding starts on May 30th! > > Congratulations to the selected students, and thank you to all the > students who applied to GSoC to work on the Astropy project this year! > > Cheers, > Tom A > > _______________________________________________ > AstroPy mailing list > AstroPy at python.org > https://mail.python.org/mailman/listinfo/astropy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From demitri.muna at gmail.com Mon May 8 18:37:50 2017 From: demitri.muna at gmail.com (Demitri Muna) Date: Mon, 8 May 2017 18:37:50 -0400 Subject: [AstroPy] SciCoder 9 Workshop Announcement, Vanderbilt University Message-ID: <5B8C8E60-89A9-4966-9215-BB7BF4BDCB2E@gmail.com> Hello, I am happy to announce the ninth SciCoder workshop, being held at and hosted by Vanderbilt University in Nashville, TN. This workshop may be of interest to young researchers (graduate students and postdocs), and it is designed to introduce modern programming practices, languages, and tools as specifically applicable to scientific research. The workshop includes hands-on coding and data analysis. (Feel free to insert the words ?big data?, ?data science?, and/or ?astroinformatics? to taste.) A limited number of seats are available to ensure a personalized experience. This program has been very successful over the past seven years and we've received a lot of positive feedback; we look forward to seeing this year's participants! We are extremely grateful for Vanderbilt's sponsorship this year. This year the workshop is being held from July 31-August 4, 2017. Applications are now being accepted through 23 June 2016 (with early acceptance if needed). Further details about the workshop can be found here: http://scicoder.org A poster is available from the web site for download and would make a great addition to that bulletin board you walked by this morning. If your institution is interested in hosting a future SciCoder workshop, please don't hesitate to contact me. I've had particular demand for the workshop on the US west coast and in Europe. Finally, I'm seeking feedback from anyone who has attended the workshop in the past or has sent a student to one. If you have a few minutes to provide any comments, I'd greatly appreciate it! http://bit.do/scicoder-feedback Cheers, Demitri _________________________________________ Demitri Muna http://muna.com Center for Cosmology and AstroParticle Physics & Department of Astronomy An Ohio State University My Projects: http://nightlightapp.io http://trillianverse.org http://scicoder.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From aldcroft at head.cfa.harvard.edu Mon May 15 14:18:23 2017 From: aldcroft at head.cfa.harvard.edu (Aldcroft, Thomas) Date: Mon, 15 May 2017 14:18:23 -0400 Subject: [AstroPy] Vector Quantities in QTable In-Reply-To: <20170413202916.aywx5adnlshdsnhl@broggs.org> References: <20170413115213.j7ltppc4mixjbgsa@broggs.org> <20170413202916.aywx5adnlshdsnhl@broggs.org> Message-ID: Hi Jeffrey, Sorry for the delay, I finally had a chance to dig into this. Congratulations, you have found a real bug ( https://github.com/astropy/astropy/issues/6072). There is no bounty but we should be able to fix this for next bug-fix release. Unfortunately I can't think of an easy workaround apart from assembling the table as a Table and then converting to QTable at the end. >>> foo = Table(names=('state1','mass'),dtype=('(3,)f8','f8')) >>> foo['state1'].unit = u.K >>> foo['mass'].unit = u.mg >>> s0 = [235,240,245]*u.K >>> m0 = 5*u.g >>> foo.add_row((s0.to(u.K), m0.to(u.mg))) >>> foo = QTable(foo, copy=False) >>> foo state1 [3] mass K mg float64 float64 -------------- ------- 235.0 .. 245.0 5000.0 Cheers, Tom On Thu, Apr 13, 2017 at 4:29 PM, Jeffrey Brent McBeth wrote: > On Thu, Apr 13, 2017 at 11:25:39AM -0700, Michael Walther wrote: > > Hi Jeffrey, > > > > Exchange: > > foo = QTable(names=('state1','mass'),dtype=('(3,1)f8','f8')) > > by: > > foo = QTable(names=('state1','mass'),dtype=('(3,)f8','f8')) > > > > Then it works (at least for this simplified case). > > I'm sorry, I cannot reproduce the code working with your substitution. > Both forms work fine (3,1), (3,) if I do not specify the units of the > column > Well, I say fine, except the units are stripped off the data and are not > preserved in the QTable > > If I have the unit definitions before trying to add a row, then I'm back > to where I was. > > I have astropy 1.3.2 and I've tried on python 2.7.12 and 3.5.2. > > Thanks, > Jeffrey > -- > "The man who does not read good books has no advantage over > the man who cannot read them." > -- not Mark Twain, maybe a southen librarian in 1910 > > _______________________________________________ > AstroPy mailing list > AstroPy at python.org > https://mail.python.org/mailman/listinfo/astropy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcbeth at broggs.org Mon May 15 15:03:04 2017 From: mcbeth at broggs.org (Jeffrey Brent McBeth) Date: Mon, 15 May 2017 15:03:04 -0400 Subject: [AstroPy] Vector Quantities in QTable In-Reply-To: References: <20170413115213.j7ltppc4mixjbgsa@broggs.org> <20170413202916.aywx5adnlshdsnhl@broggs.org> Message-ID: <20170515190304.vavpq6dwc6vpj2uj@broggs.org> On Mon, May 15, 2017 at 02:18:23PM -0400, Aldcroft, Thomas wrote: > Hi Jeffrey, > Sorry for the delay, I finally had a chance to dig into this. ? > Congratulations, you have found a real bug > ([1]https://github.com/astropy/astropy/issues/6072).? There is no bounty > but we should be able to fix this for next bug-fix release.? Unfortunately > I can't think of an easy workaround apart from assembling the table as a > Table and then converting to QTable at the end. > >>> foo = Table(names=('state1','mass'),dtype=('(3,)f8','f8')) > >>> foo['state1'].unit = u.K > >>> foo['mass'].unit = [2]u.mg > >>> s0 = [235,240,245]*u.K > >>> m0 = 5*u.g > >>> foo.add_row(([3]s0.to(u.K), [4]m0.to([5]u.mg))) > >>> foo = QTable(foo, copy=False) > >>> foo > > ? state1 [3] ? ? mass? > ? ? ? K ? ? ? ? ? mg ? > ? ?float64 ? ? float64 > -------------- ------- > 235.0 .. 245.0 ?5000.0 Thank you for getting back to me. I'm glad to hear that it isn't just me being crazy. I'll follow the development with bated breath. Jeff -- "The man who does not read good books has no advantage over the man who cannot read them." -- not Mark Twain, maybe a southen librarian in 1910