diff --git a/NIST/fingerprint/__init__.py b/NIST/fingerprint/__init__.py index 48c78513ff3edc51b6d2775bdda548c696087e64..39e40f2c13565de1b1a8925a26189cce7ceb7539 100644 --- a/NIST/fingerprint/__init__.py +++ b/NIST/fingerprint/__init__.py @@ -1286,60 +1286,3 @@ class NIST_M1( NISTf ): self.set_field( "9.136", minnum ) return minnum - -################################################################################ -# -# Deprecated class -# -################################################################################ - -class NISTf_deprecated( NISTf ): - """ - This class define all the deprecated functions (for backward - compatibility). To use it, load the NISTf_deprecated class instead of - the NISTf super class. - """ - - @deprecated( "use crop_core( size, idc ) instead" ) - def get_center( self, idc = -1 ): - return self.get_cores( idc ) - - @deprecated( "use crop_latent( size, center, idc ) instead" ) - def crop( self, size, center = None, idc = -1 ): - return self.crop_latent( self, size, center, idc ) - - @deprecated( "use the set_identifier( 'name' ) instead" ) - def set_name( self, name ): - return self.set_identifier( name ) - - @deprecated( "use the get_identifier() instead" ) - def get_name( self ): - return self.get_identifier() - - @deprecated( "use the get_minutiae( 'xy' ) instead" ) - def get_minutiaeXY( self, idc = -1 ): - return self.get_minutiae( "xy", idc ) - - @deprecated( "use the get_minutiae( 'xyt' ) instead" ) - def get_minutiaeXYT( self, idc = -1 ): - return self.get_minutiae( "xyt", idc ) - - @deprecated( "use the get_minutiae( 'xytq' ) instead" ) - def get_minutiaeXYTQ( self, idc = -1 ): - return self.get_minutiae( "xytq", idc ) - - @deprecated( "use the get_latent( 'RAW', idc ) function instead" ) - def get_RAW( self, idc = -1 ): - return self.get_latent( "RAW", idc ) - - @deprecated( "use the get_latent( 'PIL', idc ) function instead" ) - def get_PIL( self, idc = -1 ): - return self.get_latent( "PIL", idc ) - - @deprecated( "use the get_latent( format, idc ) function instead" ) - def get_image( self, format = 'RAW', idc = -1 ): - return self.get_latent( format, idc ) - - @deprecated( "use the set_latent( data, idc ) function instead" ) - def set_image( self, data, idc = -1 ): - return self.set_latent( data, idc )