def filter_by_hoys(self, hoys):
existing_hoys = self.header.analysis_period.hoys<EOL>hoys = [h for h in hoys if h in existing_hoys]<EOL>_moys = tuple(int(hour * <NUM_LIT>) for hour in hoys)<EOL>return self.filter_by_moys(_moys)<EOL>
Filter the Data Collection based onva list of hoys.

        Args:
           hoys: A List of hours of the year 0..8759

        Return:
            A new Data Collection with filtered data