@@ -321,14 +321,30 @@ def find_estimators(
321321 FieldmapEstimation(sources=<2 files>, method=<EstimatorType.ANAT: 5>,
322322 bids_id='auto_...')]
323323
324- MEDIC fieldmaps are also supported:
324+ MEDIC fieldmaps are also supported, both with B0FieldIdentifier metadata :
325325
326326 >>> find_estimators(
327327 ... layout=layouts['ds005250'],
328328 ... subject='04',
329+ ... sessions=['1'],
330+ ... fmapless=False,
331+ ... force_fmapless=False,
332+ ... ) # doctest: +ELLIPSIS
333+ [FieldmapEstimation(sources=<2 files>, method=<EstimatorType.PEPOLAR: 2>,
334+ bids_id='sub_04_ses_1_DCAN_fmap_acq_MESE'),
335+ FieldmapEstimation(sources=<2 files>, method=<EstimatorType.PEPOLAR: 2>,
336+ bids_id='sub_04_ses_1_DCAN_fmap_acq_MEGE'),
337+ FieldmapEstimation(sources=<10 files>, method=<EstimatorType.MEDIC: 6>,
338+ bids_id='sub_04_ses_1_acq_MBME_medic')]
339+
340+ and with IntendedFor metadata:
341+
342+ >>> find_estimators(
343+ ... layout=layouts['ds005250'],
344+ ... subject='04',
345+ ... sessions=['2'],
329346 ... fmapless=False,
330347 ... force_fmapless=False,
331- ... bids_filters={'session': '2'},
332348 ... ) # doctest: +ELLIPSIS
333349 [FieldmapEstimation(sources=<2 files>, method=<EstimatorType.PEPOLAR: 2>,
334350 bids_id='auto_...'),
0 commit comments