navis 1.4.0
  • Install
  • Quickstart
  • Tutorials
  • API
  • Changelog
  • Github
  • Ecosystem
  • Site
    • Page
        • navis.transforms.templates.TemplateRegistry.register_transformfile
          • TemplateRegistry.register_transformfile()

    navis.transforms.templates.TemplateRegistry.register_transformfile¶

    TemplateRegistry.register_transformfile(path, **kwargs)[source]¶

    Parse and register a transform file.

    File/Directory name must follow the a {TARGET}_{SOURCE}.{ext} convention (e.g. JRC2013_FCWB.list).

    Parameters:
    • path (str) – Path to transform.

    • **kwargs – Keyword arguments are passed to the constructor of the Transform (e.g. CMTKtransform for .list directory).

    See also

    register_transform

    If you want to register an already constructed transform instead of a transform file that still needs to be parsed.

    Back to top

    Source

    © Copyright 2018, Philipp Schlegel.
    Created using Sphinx 5.3.0.