Camera.sort_by_date¶
- Camera.sort_by_date()[source]¶
This method is used to sort the images currently loaded to the
images
attribute by date.It also ensures that the
image_mask
list remains in sync with the images. The images are sorted by theobservation_date
attribute for each image.Note
To ensure that the images are truly sorted by date throughout all image processing steps, this method should be called after any
add_images()
, orremove_images()
method calls needed.