recipy.PatchScientific module¶
-
class
recipy.PatchScientific.
PatchGDAL
¶ Bases:
recipy.PatchSimple.PatchSimple
-
input_functions
= ['Open']¶
-
input_wrapper
(wrapped, instance, args, kwargs)¶
-
modulename
= 'gdal'¶
-
output_functions
= ['Driver.Create', 'Driver.CreateCopy']¶
-
output_wrapper
(wrapped, instance, args, kwargs)¶
-
-
class
recipy.PatchScientific.
PatchImageio
¶ Bases:
recipy.PatchSimple.PatchSimple
-
input_functions
= ['core.functions.get_reader', 'core.functions.read']¶
-
input_wrapper
(wrapped, instance, args, kwargs)¶
-
modulename
= 'imageio'¶
-
output_functions
= ['core.functions.get_writer']¶
-
output_wrapper
(wrapped, instance, args, kwargs)¶
-
-
class
recipy.PatchScientific.
PatchIris
¶ Bases:
recipy.PatchSimple.PatchSimple
-
input_functions
= ['iris.load', 'iris.load_cube', 'iris.load_cubes', 'iris.load_raw']¶
-
input_wrapper
(wrapped, instance, args, kwargs)¶
-
modulename
= 'iris'¶
-
output_functions
= ['iris.save']¶
-
output_wrapper
(wrapped, instance, args, kwargs)¶
-
-
class
recipy.PatchScientific.
PatchNIBabel
¶ Bases:
recipy.PatchSimple.PatchSimple
-
image_name
= 'spm2analyze.Spm2AnalyzeImage'¶
-
images
= ['nifti1.Nifti1Image', 'nifti2.Nifti2Image', 'freesurfer.mghformat.MGHImage', 'spm99analyze.Spm99AnalyzeImage', 'minc1.Minc1Image', 'minc2.Minc2Image', 'analyze.AnalyzeImage', 'parrec.PARRECImage', 'spm2analyze.Spm2AnalyzeImage']¶
-
input_functions
= ['nifti1.Nifti1Image.from_filename', 'nifti2.Nifti2Image.from_filename', 'freesurfer.mghformat.MGHImage.from_filename', 'spm99analyze.Spm99AnalyzeImage.from_filename', 'minc1.Minc1Image.from_filename', 'minc2.Minc2Image.from_filename', 'analyze.AnalyzeImage.from_filename', 'parrec.PARRECImage.from_filename', 'spm2analyze.Spm2AnalyzeImage.from_filename']¶
-
input_wrapper
(wrapped, instance, args, kwargs)¶
-
modulename
= 'nibabel'¶
-
output_functions
= ['nifti1.Nifti1Image.to_filename', 'nifti2.Nifti2Image.to_filename', 'freesurfer.mghformat.MGHImage.to_filename', 'spm99analyze.Spm99AnalyzeImage.to_filename', 'minc1.Minc1Image.to_filename', 'minc2.Minc2Image.to_filename', 'analyze.AnalyzeImage.to_filename', 'parrec.PARRECImage.to_filename', 'spm2analyze.Spm2AnalyzeImage.to_filename']¶
-
output_wrapper
(wrapped, instance, args, kwargs)¶
-
-
class
recipy.PatchScientific.
PatchNetCDF4
¶ Bases:
recipy.PatchFileOpenLike.PatchFileOpenLike
-
functions
= ['Dataset']¶
-
modulename
= 'netCDF4'¶
-
wrapper
(wrapped, instance, args, kwargs)¶
-
-
class
recipy.PatchScientific.
PatchSKLearn
¶ Bases:
recipy.PatchSimple.PatchSimple
-
input_functions
= ['datasets.load_svmlight_file']¶
-
input_wrapper
(wrapped, instance, args, kwargs)¶
-
modulename
= 'sklearn'¶
-
output_functions
= ['datasets.dump_svmlight_file']¶
-
output_wrapper
(wrapped, instance, args, kwargs)¶
-
-
class
recipy.PatchScientific.
PatchTifffile
¶ Bases:
recipy.PatchSimple.PatchSimple
-
input_functions
= ['imread']¶
-
input_wrapper
(wrapped, instance, args, kwargs)¶
-
modulename
= 'tifffile'¶
-
output_functions
= ['imsave']¶
-
output_wrapper
(wrapped, instance, args, kwargs)¶
-
-
class
recipy.PatchScientific.
PatchXarray
¶ Bases:
recipy.PatchMultipleWrappers.PatchMultipleWrappers
-
input_functions
= ['open_dataset', 'open_mfdataset', 'open_rasterio', 'open_dataarray']¶
-
modulename
= 'xarray'¶
-
output_functions
= ['Dataset.to_netcdf', 'DataArray.to_netcdf']¶
-
wrappers
= <recipy.PatchMultipleWrappers.WrapperList object>¶
-