database/survey_models.py
def relative_timings(self):
        """
        Returns a json serializable object that represents the relative schedules of the survey
        The return object is a list of lists of intervention ids, days offset, and seconds offset.
        """
        schedules = []
        for schedule in self.relative_schedules.all():
            num_seconds = schedule.minute * 60 + schedule.hour * 3600
            schedules.append([schedule.intervention.id, schedule.days_after, num_seconds])
        return schedules

        Returns a json serializable object that represents the relative schedules of the survey
        The return object is a list of lists of intervention ids, days offset, and seconds offset.
        
Returns a json serializable object that represents the relative schedules of the survey
The return object is a list of lists of intervention ids, days offset, and seconds offset.
Returns a json serializable object that represents the relative schedules of the survey The return object is a list of lists of intervention ids days offset and seconds offset .
def relative_timings(self):
        schedules = []
        for schedule in self.relative_schedules.all():
            num_seconds = schedule.minute * 60 + schedule.hour * 3600
            schedules.append([schedule.intervention.id, schedule.days_after, num_seconds])
        return schedules
def relative_timings ( self ) : schedules = [ ] for schedule in self . relative_schedules . all ( ) : num_seconds = schedule . minute * 60 + schedule . hour * 3600 schedules . append ( [ schedule . intervention . id , schedule . days_after , num_seconds ] ) return schedules
Returns a json serializable object that represents the relative schedules of the survey
The return object is a list of lists of intervention ids, days offset, and seconds offset.
Returns a json serializable object that represents the relative schedules of the survey The return object is a list of lists of intervention ids days offset and seconds offset .
"""
        Returns a json serializable object that represents the relative schedules of the survey
        The return object is a list of lists of intervention ids, days offset, and seconds offset.
        """
self