create indices for spindle detect widget, it should be tested. Default values should be included