You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5317963
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/whatsnew/0.3.rst
+107-2Lines changed: 107 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,42 @@ them, use::
176
176
Table
177
177
-----
178
178
179
+
In addition to many bug fixes and usability improvements, the key new feature
180
+
in the :ref:`astropy-table` package is the addition of high level
181
+
:ref:`table_operations` that can be used to generate a new table from one or
182
+
more input tables:
183
+
184
+
.. list-table::
185
+
:header-rows: 1
186
+
:widths: 28 52 20
187
+
188
+
* - Documentation
189
+
- Description
190
+
- Function
191
+
* - :ref:`grouped-operations`
192
+
- Group tables and columns by keys
193
+
- `~astropy.table.table.Table.group_by`
194
+
* - :ref:`stack-vertically`
195
+
- Concatenate input tables along rows
196
+
- `~astropy.table.operations.vstack`
197
+
* - :ref:`stack-horizontally`
198
+
- Concatenate input tables along columns
199
+
- `~astropy.table.operations.hstack`
200
+
* - :ref:`table-join`
201
+
- Database-style join of two tables
202
+
- `~astropy.table.operations.join`
203
+
204
+
Grouping is a useful concept that allows you to divide a table
205
+
into sub-groups based on certain key values and create new tables based
206
+
on computed properties of those sub-groups. As an example, if you
207
+
have a table containing photometric observations of multiple sources
208
+
over multiple epochs, it would be possible to compute a mean magnitude
209
+
for each unique object.
210
+
211
+
Even more powerful is the ability to do database-style joins of tables. For
212
+
instance, if you have distinct tables with photometry in different wavebands
213
+
for a set of objects, you join these points into a single table with one row
214
+
for each source.
179
215
180
216
Coordinates
181
217
-----------
@@ -255,12 +291,81 @@ coordinates used above::
255
291
Time
256
292
----
257
293
258
-
.. TODO
294
+
The :ref:`astropy-time` package has received attention in filling in
295
+
the details from the initial release in astropy 0.2. This includes adding array
296
+
indexing and supporting various arithmetic operations involving arrays,
297
+
constants, and `~astropy.units.quantity.Quantity` objects with time units. In addition the initial
298
+
infrastructure was added to allow use of `International Earth Rotation and
299
+
Reference Systems Service
300
+
<http://www.iers.org/>`_ tables so that automatic
301
+
calculation of UT1 becomes possible.
302
+
303
+
One very significant improvement is an overhaul of the internal
304
+
time manipulations so that arithmetic with `~astropy.time.core.Time` and
305
+
`~astropy.time.core.TimeDelta` objects maintain sub-nanosecond precision over a time span
306
+
longer than the age of the universe. This is done by carefully managing
307
+
the way the time is represented and manipulated using two 64-bit floats.
308
+
309
+
Finally, three new time formats were added:
310
+
311
+
- ``datetime``: standard library `datetime.datetime` objects.
312
+
- ``plot_date``: dates compatible with the `matplotlib.pyplot.plot_date` function.
313
+
- ``gps``: seconds since 1980-01-01 00:00:00 UTC including leap seconds.
259
314
260
315
ASCII Tables
261
316
------------
262
317
263
-
.. TODO
318
+
The :ref:`io-ascii` package now includes functionality to write `IPAC format tables
0 commit comments