From 686052a721692a6bf132da7f362fcf6f99bc0716 Mon Sep 17 00:00:00 2001
From: Thomas Lambert <t.lambert@uliege.be>
Date: Sat, 16 Jul 2022 14:55:06 +0200
Subject: [PATCH] refact!: change spelling from analyse to analyze

This tries to uniform the naming convention to US notation.
---
 +af_tools/@Airfoil/Airfoil.m | 4 ++++
 +af_tools/@Polar/Polar.m     | 4 ++--
 CHANGELOG.md                 | 2 ++
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/+af_tools/@Airfoil/Airfoil.m b/+af_tools/@Airfoil/Airfoil.m
index a5ebfd2..9bfedc3 100644
--- a/+af_tools/@Airfoil/Airfoil.m
+++ b/+af_tools/@Airfoil/Airfoil.m
@@ -97,6 +97,10 @@ classdef Airfoil
             self.Polar = self.Polar.extendpolar();
         end
 
+        function self = analyze(self)
+            self.Polar = self.Polar.analyze();
+        end
+
         self = addextremereynolds(self)
 
     end
diff --git a/+af_tools/@Polar/Polar.m b/+af_tools/@Polar/Polar.m
index dd99a43..2dd433e 100644
--- a/+af_tools/@Polar/Polar.m
+++ b/+af_tools/@Polar/Polar.m
@@ -136,8 +136,8 @@ classdef Polar
         end
 
         % ---------------------------------------
-        function self = analyse(self)
-            % ANALYSE  Get all useful information from the polar curves at once
+        function self = analyze(self)
+            % ANALYZE  Get all useful information from the polar curves at once
             %
             % See also: af_tools.findstall, af_tools.findzerolift, af_tools.findcllinrange.
 
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ad2dda8..0ce5962 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Changed
 
+- **Polar**: rename _analyse_ method in _analyze_ to use US spelling everywhere.
+
 ### Deprecated
 
 ### Removed
-- 
GitLab