code: def from_cli(cls, opt, strain):
          
          return cls(strain, segment_length=opt.segment_length,
                     segment_start_pad=opt.segment_start_pad,
                     segment_end_pad=opt.segment_end_pad,
                     trigger_start=opt.trig_start_time,
                     trigger_end=opt.trig_end_time,
                     filter_inj_only=opt.filter_inj_only,
                     injection_window=opt.injection_window,
                     allow_zero_padding=opt.allow_zero_padding)
docs: Calculate the segmentation of the strain data for analysis from
          the command line options.