(meas_date, orig_time)
| 192 | |
| 193 | |
| 194 | def _raw_annot(meas_date, orig_time): |
| 195 | from .._fiff.meas_info import create_info |
| 196 | from ..annotations import Annotations, _handle_meas_date |
| 197 | from ..io import RawArray |
| 198 | |
| 199 | info = create_info(ch_names=10, sfreq=10.0) |
| 200 | raw = RawArray(data=np.empty((10, 10)), info=info, first_samp=10) |
| 201 | if meas_date is not None: |
| 202 | meas_date = _handle_meas_date(meas_date) |
| 203 | with raw.info._unlock(check_after=True): |
| 204 | raw.info["meas_date"] = meas_date |
| 205 | annot = Annotations([0.5], [0.2], ["dummy"], orig_time) |
| 206 | raw.set_annotations(annotations=annot) |
| 207 | return raw |
| 208 | |
| 209 | |
| 210 | def _get_data(x, ch_idx): |
no test coverage detected