check_time_indeces
- tulips.tulips.check_time_indeces(time_ind, star_age)[source]
Check time indices.
Check if time indices are correctly set and define start_ind and end_ind.
- Parameters
- time_ind: int or tuple (start_index, end_index, step=1) or (start_index, end_index, step)
If int: create the plot at the index time_ind.
- star_age: array
Ages of star from MESA history file
- Returns
- start_ind, end_ind, ind_step