@@ -399,7 +399,7 @@ def add_segmentation(self, **kwargs):
399399 {"name" : "excitation_source" , "type" : ExcitationSource , "doc" : "The excitation source" , "default" : None },
400400 allow_extra = True ,
401401)
402- def get_excitation_wavelength (** kwargs ):
402+ def get_excitation_wavelength (self , ** kwargs ):
403403 """Get the excitation wavelength from the excitation source."""
404404 excitation_source = popargs ("excitation_source" , kwargs )
405405 return excitation_source .excitation_wavelength_in_nm
@@ -415,7 +415,7 @@ def get_excitation_wavelength(**kwargs):
415415 {"name" : "photodetector" , "type" : Photodetector , "doc" : "The photodetector" , "default" : None },
416416 allow_extra = True ,
417417)
418- def get_emission_wavelength (** kwargs ):
418+ def get_emission_wavelength (self , ** kwargs ):
419419 """Get the emission wavelength from the photodetector."""
420420 photodetector = popargs ("photodetector" , kwargs )
421421 return photodetector .detected_wavelength_in_nm
@@ -428,7 +428,7 @@ def get_emission_wavelength(**kwargs):
428428 {"name" : "indicator" , "type" : Indicator , "doc" : "The indicator" , "default" : None },
429429 allow_extra = True ,
430430)
431- def get_indicator_label (** kwargs ):
431+ def get_indicator_label (self , ** kwargs ):
432432 """Get the label of the indicator."""
433433 indicator = popargs ("indicator" , kwargs )
434434 return indicator .label
0 commit comments