Giter Club home page Giter Club logo

lauepy's Introduction

Summary

  • ๐Ÿ‘‹ Hi, I'm Nick Porter (@jacione).
  • ๐Ÿ‘จโ€๐ŸŽ“ I'm currently working toward a PhD in physics at Brigham Young University.
  • ๐Ÿ‘€ Iโ€™m interested in coherent diffraction imaging, algorithm development, device interfacing, experimental automation.
  • โŒจ I'm pretty good with Python, with a vague grasp of C, C++, Javascript, and a few other languages.
  • ๐ŸŒฑ Iโ€™m currently learning about GPU-accelerated computing.
  • ๐Ÿ’ž๏ธ Iโ€™m open to collaborate on pretty much anything.

Fun facts about me

  • I've never broken a bone, but I have knocked out a few teeth.
  • I made an RC car from scratch for my 2-year old. It took me the better part of a summer to design and build it. It took him the better part of 15 minutes to break it. I'd do it again in a heartbeat.
  • I made a techno album when I was 21. It's... ok.

lauepy's People

Contributors

jacione avatar

Stargazers

 avatar  avatar

Watchers

 avatar

lauepy's Issues

Distance between simulated and observed peaks

When the distance is calculated between the observed peaks and the forward simulation, the result is about an order of magnitude larger than expected. As far as I can tell, the actual indexations are correct; they match up with those found in the old version of the code.

Documentation needed

At some point, I need to go through and add docstrings to all of the major functions and files. That would help with collaboration.

Put the grain macros in the experiment directory

It would be easier to run the spec macros if they were all in the experiment directory. However, they will have to be renamed so that they don't overwrite each other (something like scan0023grain001.mac or something)

Improved peak-finding

Finding all the peaks in every frame makes it harder to differentiate which peaks belong together. A single peak which appears in N frames is flagged N times, regardless of whether it's actually "peaking" at that position. This makes it hard to determine the boundaries of a single grain, and causes fading peaks to spill into the spaces of other grains.

It would be better to mark each peak based on where it is brightest. This would require a 4D peak-finding optimization, and would probably need a slightly different image pre-processing routine.

Remove abstraction from function calls

Right now most of the function calls take just the config dictionary as a parameter. That abstraction is nice for concision, but prevents the functions from being useful outside of the rigid framework of my main working routine. It would be more useful to have the functions take actual parameters (which can be read in by the config dict). Then they could be cherry picked by anyone else wanting to use parts and pieces of this software.

Open to the last run config file

When a config file is run, it should save something to the source code so that it opens to that same file the next time you run gui.py

grain map only works for labx/labz

When we do a Laue scan using the px/py motors, everything gets stretched out on the map because it's trying to compensate for an angle that isn't actually needed.

Improved safety net for GUI buttons

It would be great if there were a way to check whether a certain command would produce valid results. In other words, it would disable a button if any of the following are true:

  • An upstream config parameter has been changed.
  • A command is run at least two levels upstream.

I can't think of any other reasons right now. This is a low-priority task, but a good one to keep in the back of my mind.

Detector calibration

We should have a script that calls the detector calibration routine. There should also be a button to call the same routine from the GUI.

Unit tests

It would be great at some point to put in unit tests to ensure future compatibility.

Debugging mode

Place a button in the GUI that toggles an extremely verbose mode

Increased feedback during analysis

Many of the parameters are highly unintuitive, so the user would benefit from rapid feedback. Probably a good idea to include more plots and printed output so the user doesn't need to just guess blindly.

Expand output map

The axes on the plot of grain positions should probably just extend to the full range of the scan

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.