meegpype.interfaces.connectome_wb.label_resample moduleπŸ”—

class meegpype.interfaces.connectome_wb.label_resample.LabelResample(command=None, terminal_output=None, write_cmdline=False, **inputs)πŸ”—

Bases: CommandLine

Wrapped executable: wb_command -label-resample.

Mandatory Inputs:
  • current_sphere (a pathlike object or string representing an existing file) – A sphere surface with the mesh that the label file is currently on. Maps to a command-line argument: %s (position: 1).

  • label_in (a pathlike object or string representing an existing file) – The label file to resample. Maps to a command-line argument: %s (position: 0).

  • label_out (a pathlike object or string representing a file) – The output label file. Maps to a command-line argument: %s (position: 4).

  • method (a string) – The method name. Maps to a command-line argument: %s (position: 3).

  • new_sphere (a pathlike object or string representing an existing file) – A sphere surface that is in register with <current-sphere> and has the desired output mesh. Maps to a command-line argument: %s (position: 2).

Optional Inputs:
  • area_metrics (a list of from 2 to 2 items which are a pathlike object or string representing an existing file) – Area metric files. Maps to a command-line argument: -area-metrics %s.

  • args (a string) – Additional parameters to the command. Maps to a command-line argument: %s.

  • environ (a dictionary with keys which are a bytes or None or a value of class β€˜str’ and with values which are a bytes or None or a value of class β€˜str’) – Environment variables. (Nipype default value: {})

Outputs:

out (a pathlike object or string representing an existing file) – The output file.