Git Product home page Git Product logo

cltem's Introduction

header

🎓 Who?

A researcher passionate about all things electron microscopy. Creator of new hardware and software to increase capabilties and sustainability of electron microscopes, with experience in high-speed electronics, FPGAs and integration into powerful but usable software. Someone not afraid to question the conventional wisdom and reevaluate what is possible with modern tools.

🏰 Where?

The Trinity College Dublin Ultramicroscopy Research Group, previously in the Warwick University Microscopy Group. Physically located in the Advanced Microscopy Laboratory.

            ;

🔬 What?

                   

Other experience with Matlab, TCL, C#, HTML, CSS, PHP, CUDA.

📟 How?

                           

⌚ When?

Now.

Do it.

cltem's People

Contributors

jjppeters avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cltem's Issues

Structure info on main GUI is incorrect

Changes to the way the simulation area is handled means the structure info on the main window is incorrect/irrelevant. This just needs to make sure the correct function are called

Add separate console application

instead of needing the GUI, a separate console application should be created to use the simulation library. This makes it easier to run on servers, or to automate with scripting.

Release build does not always produce output

tested on windows doing cbed with 30 TDS configs. Suspected OpenCL issue not completing kernels before getting data/continueing.

Perhaps try spamming WaitForQueueFinish commands to see if it helps

Check CBED probe is in expected position

Check the CBED probe is in the correct position. It is fairly easy to export the generated incident wavefunction to measure. Check complications due to the reversal of the y-axis too.

Cannot edit default microscope config due to write protection

In windows, the default install location is write protected, so users cannot easily edit the default. This should be moved to a new location so it can be changed, with a possible option to 'save as default' so the user does not need to know the location.

Small images are not shown correctly

Images with small dimensions (found in a 2x2 image) do not resize properly as the window is resized. Untested for even slightly larger images. May not be a problem as 2x2 simulations are going to be very rare.

Change atom bins to be appropriate size

I beleive a bug is caused where the bins get overladed with atoms. This main occurs when loading a structure that should be in nm as Angstroms. The simulation then faults at the potential generation stage (it completes the empty 'pre-structure' slices and fails as soon as it enters the structure).

I'm guessing this is due to the bins containing too many atoms but I'm not really sure...

Simulation produces blank results

On some systems, some of the time, the simulation produces blank results. Similar problems before have related to asynchronous read/write of opencl buffers before a kernel has completed.

Unknown error when performing TDS CBED simulations in command line

Whilst batch simulating CBED patterns, an unexpected error occurred (program has stopped working) only sometimes. Running 400+ 10 TDS configuration simulations produced zero error, but with 30 TDS configurations the error happens sometimes (every 30 simulations or so?). No clue what caused it.

CTEM CCD image simulation doesnt work on some hardware

The dose/CCD simulation doesn't work on some hardware (i.e. an intel i7-4600u) when it does on others (tested working on a gtx 670). This is likely caused by reading/writing buffers before kernels have finished, or similar.

Define code style

Need to use a defined code style for function names etc...

Currently it is a complete mess. Sorry.

Add option to crop CTEM simulations

Currently, CTEM simulations remove the padded area around the desired simulation area. This should be an optional as the diffraction pattern always includes the padded area and it may be needed to show exactly what has been simulated.

Implement finite difference method

Existing code for finite difference exists, though I'm not entirely familiar with how it works. This should be added and tested at some point.

Verify units

Every variables needs to be tested to verify it's units. Currently it is not obvious and some things seem to have a massive effect on the simulation when they might not be expected to.

Images appear to update mutiple times

The images are updated multiple times (at least after the first simulation). This is very noticeable for larger images. Possible causes are the image plot redrawing multiple times or the signal slot mechanism to return images is called multiple times.

Add in CTEM image simulation

Currently, only the exit wave part is simulated. Functions to simulate the actual image are present but not 'hooked up' and are untested in the current version.

Find way to preserve exit wave between simulations (for CTEM)

For CTEM image simulations, the exit wave does not need to be recalculated when the aberrations change (only for voltage, etc...). It could be possible to preserve the exit wave simulation so it does not need to be recalculated (if possible), though this is made tricky by the use of threads and multi-device support.

Add support for .cif files

currently, only xyz files are handled. Generating a structure from a .cif would also be useful (and maybe allow it to be exportable as a .xyz)

Change how the simulation area is handled

The simulation area has different purposes for different modes. Currently it works for the CTEM mode, but doesnt make much sense in STEM/CBED. In these modes, the simulation area is purely to determine the reciprocal scale. The dialog should depend changing on the mode, and for STEM/CBED, should be allowed to set a desired resolution, or desired maximum in reciprocal space (similar options could be used to achieve a set resolution in CTEM).

Add icon

For windows, icon needs to be added at build

Add support for default settings

Settings defaults should be editable by the user (perhaps from a file a la #3). Maybe multiple defaults can be loaded and selected from. This would help as many people only need to simulate for a select few microscopes in certain configurations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.