Skip to content

An application that provides tools for mapping, analyzing, and manipulating X-ray Flourescence (XRF) sample data.

Notifications You must be signed in to change notification settings

quantumjockey/XRF-Data-Analysis-Utilities

Repository files navigation

XRF Data Analysis Utilities

XRF Data Analysis Utilities supplies the materials scientist with tools for analyzing X-Ray Flourescence patterns, including (at current): separation of element data by layer, false-color data counts rendering, single-element rendering, three-element rendering, temperature adjusment, data zoom, image scaling, image markup, image export (with axes and markup), and multiple simultaneous workspace capabilities.

This software is a collaborative effort among Nicola B. DiPalma, Oliver Tschauner, Ph.D., and scientists at the University of Nevada, Las Vegas High Pressure Science and Engineering Center (HiPSEC). This software is intended to augment current data analysis capabilities at HiPSEC and is freely available through this repository for use by members of the scientific community. A page containing downloads for application binaries is coming soon. This project represents the culmination of four months of research and [subsequent] development, as of this writing. August 17th, 2014

Dependencies

The repository requires the following components:

  • CompUhaul - Foundation for internal file management framework.
  • LookinSharp - Rendering library for generating data visualizations.
  • TheseColorsDontRun - Color ramps for use with data visualization components.
  • WpfHelper - Foundation for MVVM implementation.

These can be cloned from their respective repositories (links included above). DLL binaries for these libraries and their dependencies will be made available for download on both the laboratory site and Nicola's portfolio site. Follow the instructions included in the README for each repository to ensure proper setup. Once cloned, the references to each must be corrected in the Visual Studio Solution file. A walk-through for this process is included below.

Instructions

To get your machine ready for development with this repository, you have one of two options:

  1. Develop using repositories for project dependencies.
  2. Develop using binaries for dependencies.

If you want to use repositories for project dependencies:

  1. Download dependencies listed above via included links. Prepare each for development by following instructions in the README for each.
  2. Clone this repository to your machine.
  3. Navigate to the directory you cloned your repository to.
  4. Locate the Visual Studio 2012 solution file.
  5. Open the solution in Visual Studio (2012 or later)
  6. Change the referenced paths for each "missing" project to their respective repository clones.
  7. Build the project in Debug mode.

If you want to use binaries for project dependencies:

  1. Download binaries for the above-listed dependencies via linked sites above.
  2. Place DLL binaries (and DLLs for their dependencies) in a common directory.
  3. Clone this repository to your machine.
  4. Navigate to the directory you cloned your repository to.
  5. Locate the Visual Studio 2012 solution file.
  6. Open the solution in Visual Studio (2012 or later)
  7. Refactor listed dependencies by removing existing project references from solution file.
  8. Add references for each DLL binary by right-clicking on the "References" folder within the solution and select "Add Reference..." to open Reference Manager.
  9. Locate all binaries via the "Browse..." option.
  10. When all binaries have been successfully located, be sure that they're all checked in the Reference Manager's center view and click "OK"
  11. Build the project in Debug mode.

Viola! You're good to go!

Notes

Code in this application has been composed in a self-documenting fashion and styled for readability where possible. XML documentation for use with VS Intellisense is limited since reuse of code not otherwise encapsulated in external libraries is unlikely at this time. Comments have been placed within source where readability is limited, and where functionality is a direct consequence of material esoteric to crystallography and materials science.

The solution associated with this application, including unit tests and architectural models, was created, debugged, and deployed using Visual Studio 2012 Ultimate with MSDN (link contains addtional references). The solution may not open properly if you try using an earlier or less feature-saturated version of Visual Studio. If a later version is used, be sure to check the cloned solution against original source code to ensure that compatiblity changes haven't significantly altered existing functionality.

About

An application that provides tools for mapping, analyzing, and manipulating X-ray Flourescence (XRF) sample data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages