Camera.apply_date_range

giant.camera:

Camera.apply_date_range()[source]

This method filters images by date, setting any whose observation_date is not between start_date and end_date to False.

This method uses the start_date and end_date attributes to create a date range. It then checks the observation_date attribute of each OpNavImage contained in the images to identify which images are in the specified date range. If an image was not taken during the specific date range, then the corresponding index of the image_mask list is set to False.

Note

This method must be called after all other filter methods, such as only_long_on().

Note

If either the start_date or end_date attributes are type None, they will not be considered

Note

This method does not turn on any images that are turned off, even if they fall within the date range.