def median_temporal_distances(self, min_n_boardings=None, max_n_boardings=None):
if min_n_boardings is None:<EOL><INDENT>min_n_boardings = <NUM_LIT:0><EOL><DEDENT>if max_n_boardings is None:<EOL><INDENT>max_n_boardings = self.max_trip_n_boardings()<EOL>if max_n_boardings is None:<EOL><INDENT>max_n_boardings = <NUM_LIT:0><EOL><DEDENT><DEDENT>median_temporal_distances = [float('<STR_LIT>') for _ in range(min_n_boardings, max_n_boardings + <NUM_LIT:1>)]<EOL>for n_boardings in range(min_n_boardings, max_n_boardings + <NUM_LIT:1>):<EOL><INDENT>simple_analyzer = self.get_time_profile_analyzer(n_boardings)<EOL>median_temporal_distances[n_boardings] = simple_analyzer.median_temporal_distance()<EOL><DEDENT>return median_temporal_distances<EOL>
Returns
-------
mean_temporal_distances: list
    list indices encode the number of vehicle legs each element
    in the list tells gets the mean temporal distance