Skip to content

Commit fa4e715

Browse files
authored
Merge pull request #41 from xmaptools/dev-b1-lanari
Merge for final deployment of 4.5 beta 1
2 parents 94b23a7 + b9fcf52 commit fa4e715

20 files changed

Lines changed: 20238 additions & 76 deletions

Changelog.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@
22

33
## XMapTools 4.5 (no build yet)
44

5-
This version is highly recommended for all users as it includes new features, compatibility enhancements, bug fixes and stability improvements to the software.
6-
7-
- Compatibility information for MacOS users:
8-
Note that the public compiled version of XMapTools 4.5 runs natively on Apple Silicon Macs using MATLAB Runtime 24.3, resulting in a significant performance gain. However, the version of XMapTools 4.5 compatible with the M-Series chip is limited to MacOS Ventura (13), Sonoma (14), Sequoia (15) and more recent. The previous MATLAB runtime version v912 can be removed after upgrading to XMapTools 4.5 final release.
5+
This release is highly recommended for all users as it includes new features, performance and compatibility enhancements, bug fixes and stability improvements to the software.
96

7+
- Major update and compatibility notes:
8+
- MacOS compatibility: XMapTools 4.5 runs natively on Apple Silicon Macs using MATLAB Runtime 25.1, resulting in a significant performance gain. However, the version of XMapTools 4.5 compatible with the M-Series chip is limited to MacOS Ventura (13), Sonoma (14), Sequoia (15) and newer. The previous MATLAB runtime version v912 can be removed after installing this version.
9+
- Windows compatibility: XMapTools 4.5 is only compatible with Windows 10 and Windows 11. The previous MATLAB runtime version v912 can be removed after installing this version.
10+
- MacOS Installation and Update: The initial installation of XMapTools 4.5 and MATLAB Runtime 25.1 can be performed using the terminal command "curl -fsSL https://xmaptools.ch/install.sh | bash". In the future, XMapTools updates on MacOS will be distributed using the terminal command "curl -fsSL https://xmaptools.ch/update.sh | bash".
11+
- Windows installation and Update: ...
12+
1013
- General:
1114
- Add an image converter module (in Add-ons) to convert images into numerical values stored in text files that can be imported into XMapTools. The converter module has additional tools to set the minimum and maximum value and to crop the image.
1215
- Enhance the Data Export module with a new mode that randomly selects n pixels to export. This can be combined with other export formats in the same file.
16+
- Add an option to display the "bulk value (average)" of plotted pixels in binary and ternary plots in the Data Visualisation module, improving the statistical output of the plots.
1317
- Add an option to change the colour of the ROI drawn in the main windows and modules. The default colour is selected when the program starts, but the user's choice is saved for each project.
1418

1519
- LA-ICP-MS:
@@ -18,7 +22,6 @@ Note that the public compiled version of XMapTools 4.5 runs natively on Apple Si
1822
- Add a new compatible format for automatic identification of the analysis ID. The list of compatible formats is "Name - ID", "Name-ID", "Name_ID".
1923
- Add a check to detect if the wrong format of the name has been selected and the analysis ID cannot be retrieved.
2024

21-
2225
- Other:
2326
- Add the creation of colormap data on opening to allow modules to use the default colormap before the first map is displayed.
2427
- Correction of an error in the data converter for the LA-ICP-MS module that prevented the manual adjustment of the integration sweep for the primary and secondary standards.
@@ -242,7 +245,7 @@ Release 4.1 includes new functionalities and updates to XMapTools and improvemen
242245

243246

244247

245-
## XMapTools 4 beta 4 Developer (no public release yet)
248+
## XMapTools 4.0 beta 4 Developer (no public release yet)
246249
- Release notes:
247250
- Add tools for single-mask classification and the creation of sub-masks. At the moment, it is recommended to use the Random Algorithm forest for creating sub-masks.
248251
- Add a point counting tool to evaluate pseudo-modes; XMapTools selects randomly 300 pixels on the map and estimates the modal abundances (in %). A version with uncertainty estimation using Monte-Carlo can be activated in the developer version.
@@ -260,7 +263,7 @@ Release 4.1 includes new functionalities and updates to XMapTools and improvemen
260263
- Add a mask file signature to ensure data compatibility throughout XMapTools and add-ons
261264

262265

263-
## XMapTools 4 beta 3 Developer (no public release yet)
266+
## XMapTools 4.0 beta 3 Developer (no public release yet)
264267
- Release notes:
265268
- Add the old function to run XMapTools and open immediately a project in the MATLAB version using the command: _XMapTools open ProjectName_
266269
- ...

Compilation_2025.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ __Last update 09.05.2025 (Pierre Lanari)__
99
- Open the App Designer (open XMapTools or start XMapTools); the code will automatically be updated to the MATLAB version.
1010

1111
- Change the hardcoded version in the startup function.
12+
- Change the version in the Sharing Details of the main XMapTools object.
1213
- Save the project to update the version and code.
1314

1415
- Click "Share" > "Standalone Desktop App".
@@ -17,7 +18,7 @@ __Last update 09.05.2025 (Pierre Lanari)__
1718
- Select "Share using a project" in "Manage App Sharing with a MATLAB Project".
1819
- Edit the name to "XMapTools" and click Ok.
1920

20-
- In the the main MATLAB window and the Project tab, click on "Compiler Task Manager" and select the task.
21+
- In the the main MATLAB window and the Project tab, click on "Compiler Task Manager" and select the task by clicking in XMapTools Standalone Application.
2122
- Add the following folders manually (important):
2223
- Program/Addons/BingoAntidote/Databases/
2324
- Program/Addons/BingoAntidote/Dev/
@@ -26,25 +27,26 @@ __Last update 09.05.2025 (Pierre Lanari)__
2627
- Program/Dev/help
2728
- Program/Dev/help/img
2829

29-
- Select "Fetch MATLAB Runtime" option and change the name to XMapToolsInstaller_macOS_Intel or XMapToolsInstaller_macOS_AppleSilicon_2025 or XMapToolsInstaller_WIN.
30+
- Select "Fetch MATLAB Runtime" option and change the name to XMapToolsInstaller_macOS or XMapToolsInstaller_Windows.
3031

3132
- Update the Installer Notes:
3233
```
3334
#### THIS IS A BETA VERSION OF XMAPTOOLS: Some features will only be available in the public release ####
3435
3536
Find out more at https://github.com/xmaptools/XMapTools_Developers/blob/main/Changelog.md
3637
```
37-
```
38-
--
39-
40-
Remember that you need to update permissions on macOS before to run XMapTools: https://resources.xmaptools.ch/installation-macos/
41-
Open a terminal and type in: chmod -R 755 /Applications/XMapTools/
42-
```
4338

4439
- Select the splash screen
4540
- Select the icon
4641
- Select the Sidebar Image
4742

4843
- Click "Build and Package"
4944

45+
- Zip the installer for macOS using:
46+
```
47+
ditto -c -k --sequesterRsrc --keepParent "XMapToolsInstaller_macOS.app" "XMapToolsInstaller_macOS.zip"
48+
```
49+
```
50+
ditto -c -k --sequesterRsrc --keepParent "XMapTools.app" "XMapTools_macOS.zip"
51+
```
5052
- If this is a public version, update the version online!

Program/Dev/help/AddPath_help.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
% attemp to help for the compilation on Windows.
2+
function AppPath_help()
3+
end

Program/Dev/help/XMT_help_DataVizualizationTools.html

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<BODY>
1515
<h1> Help > Data Visualization Tools </h1>
16-
<p><i>Help file version 13.01.2024 by M. Tedeschi & P. Lanari</i></p>
16+
<p><i>Help file version 09.05.2025 by M. Tedeschi & P. Lanari</i></p>
1717
<br \>
1818
<hr>
1919
<p><b>Table of content</b><br \><br \>
@@ -131,11 +131,40 @@ <h4>Low ressource mode</h4>
131131

132132

133133

134-
<h4>Statistics</h4>
134+
<h4>Plot "Bulk Value" (Average)</h4>
135+
136+
<p> The "Bulk Value" (Average) is calculated from the data plotted in the figure, e.g. 20% when Low Resource Mode is enabled. There is <u>no</u> density correction applied, so deviations from the true bulk composition are expected if phases have different densities.</p>
137+
138+
139+
<h4>Statistics and plotting report</h4>
135140

136141
<p>Statistics are reported in the Statistics section and are updated each time the plot is changed.</p>
137142

138-
<p>A detailed description will be added in the future.</p>
143+
<p>The statistics section can contain the following information:</p>
144+
<ul>
145+
<li>Bulk Value (average of plotted pixels) in binary & ternary plots if the "Plot "Bulk Value" (Average)" option is enabled.</li>
146+
<li>Bulk Value (std of plotted pixels) in binary & ternary plots if the "Plot "Bulk Value" (Average)" option is enabled.</li>
147+
<li>Bulk Value (relative fraction of <i>X</i>, <i>Y</i> and <i>Z</i>) in ternary plots if the "Plot "Bulk Value" (Average)" option is enabled.</li>
148+
<li>Correlation coefficient between <i>X</i> and <i>Y</i> in binary plots.</li>
149+
</ul>
150+
151+
<p>The plotting report section can contain the following information:</p>
152+
153+
<ul>
154+
<li>Plot type and Low Resource Mode status.</li>
155+
<li>Size of dataset: number of pixels and fraction displayed. </li>
156+
<li>Various plotting times that can be reported to the developers in case of problems with the module (see example below).</li>
157+
</ul>
158+
159+
<code>Plotting binary data [low ressource mode: ON]</code> <br /><br />
160+
161+
<code>Size of dataset: 687718 data points (20% plotted)</code><br />
162+
<code>Extracting & Plotting data: 0.10176s</code><br />
163+
<code>Adjusting plot; force plotting: 0.089678s</code><br />
164+
<code>Calculating and plotting the density map : 0.34156s</code><br />
165+
<code>Final update of plots & interface : 0.00819s</code><br />
166+
<code>Drawnow : 0.073919s</code><br />
167+
139168

140169

141170

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
% attemp to help for the compilation on Windows.
2+
function AppPath_help_img()
3+
end

Program/Dev/icons/113-server.png

17.8 KB
Loading
115 Bytes
Binary file not shown.
784 Bytes
Binary file not shown.
20.5 KB
Binary file not shown.

Program/SourceControl/About_XMapTools_exported.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function createComponents(app)
9393
app.Information.FontSize = 11;
9494
app.Information.Layout.Row = [7 10];
9595
app.Information.Layout.Column = [2 7];
96-
app.Information.Text = {'XMapTools is a free software solution for the analysis of chemical maps developed by Prof. Pierre Lanari at the University of Lausanne, Switzerland.
'; ''; 'Main contributors: Pierre Lanari, Philip Hartmeir, Thorsten Markmann, Joshua Laughton, and Mahyra Tedeschi

'; ''; 'License: GNU General Public License v3.0'; ''; '

Website: https://xmaptools.ch
'; 'Resources: https://resources.xmaptools.ch'; '
Github: https://github.com/xmaptools '; 'PTtoolbox (by J. Laughton): https://github.com/JoshuaLaughton/PTtoolbox '};
96+
app.Information.Text = {'XMapTools is a free software solution for the analysis of chemical maps currently developed by Prof. Pierre Lanari at the University of Lausanne, Switzerland.
 and previously at the University of Bern.'; ''; 'Main contributors: Pierre Lanari, Thorsten Markmann, Renée Tamblyn, Joshua Laughton, Philip Hartmeir, and Mahyra Tedeschi

'; ''; 'License: GNU General Public License v3.0'; ''; '

Website: https://xmaptools.ch
'; 'Resources: https://resources.xmaptools.ch'; '
Github: https://github.com/xmaptools '; 'PTtoolbox (by J. Laughton): https://github.com/JoshuaLaughton/PTtoolbox '};
9797

9898
% Show the figure after all components are created
9999
app.XMapTools_Info.Visible = 'on';

0 commit comments

Comments
 (0)