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

Add a 'sort' method to ImageFileCollection #274

Merged
merged 3 commits into from
Jan 12, 2016
Merged

Commits on Jan 11, 2016

  1. Add a 'sort' method to ImageFileCollection

    This uses the underlying table structure to do that sort, it also updates
    the separate self._files accordingly.
    This method allows me to set a the order in which the files are processed,
    e.g. I can iterate over all files and make plots sorted alphabetically by
    'OBJECT' or by 'OBS-TIME' or 'FILTER'.
    
    A related chage is to sort the file list when reading files from a
    directory. This sorting is alphapetical, if the user does not like it
    they can always use the new 'sort' function later.
    This change makes the order of files that are read in reproducable, which useful
    when the iterators are used to make plots of each file - I want the same order
    when I re-run my script.
    (Without this change the order of files seems to change randomly at times.)
    hamogu committed Jan 11, 2016
    Configuration menu
    Copy the full SHA
    96c5a7a View commit details
    Browse the repository at this point in the history
  2. add changelog

    hamogu committed Jan 11, 2016
    Configuration menu
    Copy the full SHA
    ee6cffb View commit details
    Browse the repository at this point in the history
  3. add sort to docs

    hamogu committed Jan 11, 2016
    Configuration menu
    Copy the full SHA
    c9547e2 View commit details
    Browse the repository at this point in the history