Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo Reorganization: #95

Open
2 of 37 tasks
CSSFrancis opened this issue May 31, 2024 · 2 comments
Open
2 of 37 tasks

Demo Reorganization: #95

CSSFrancis opened this issue May 31, 2024 · 2 comments

Comments

@CSSFrancis
Copy link
Member

CSSFrancis commented May 31, 2024

I think there are a couple of the Demos that I have duplicated/ better explained with the Examples added to pyxem. Also keeping the Demos up to date is a little difficult as they take a long time to run/ aren't run with the CI for pyxem.

I am going to remove:

From that point I would like to make subfolders in the demos:

  • DPC
    • Magnetic DPC Notebook
    • Electric DPC from Atomic Columns?
  • Amorphous and Organics Characterization
    • FEM
    • Angular Correlations and Symmetry Analysis
    • Vector Based Analysis
    • Organic Semiconduction Phase Mapping
  • Orientation Mapping
    • Orientation Mapping
    • G-Phase Mapping Example
  • Machiene Learning
    • Vector Based DBSCAN --> Using full 4D Vectors and just 2D Vectors
    • Applying a Neural Network using map and pytorch
    • Matrix Methods PCA SVD and NNMF
  • In Situ Characterization
    • Aligning a 5D Dataset
    • Crystalization Strucuture Characterization
    • Electron Correlation Micrscopy
  • Vector Analysis (Strain etc.)
    • Strain Mapping
    • Creating Virtual Images from Vectors
    • Vector Matching with Phases
  • External Packages Interfaces
    • Doing ptycography with LiberTEM
    • abTEM --> pyxem workflow

Thoughts? @tinabe this is a little bit of what we discussed before. I don't intend to do this before the workshop but it might be a good thing to keep in mind. Do other people have datasets or workflows they want added to this list?

@pc494
Copy link
Member

pc494 commented Jun 22, 2024

@CSSFrancis sorry to be late to the party. Demos is a nightmare, honestly think you could delete everything and start again with tagged versions for workshops.

@CSSFrancis
Copy link
Member Author

@CSSFrancis sorry to be late to the party. Demos is a nightmare, honestly think you could delete everything and start again with tagged versions for workshops.

I feel kind of the same way about the demos although with a 1.0.0 version it should be less of an issue. They might become out of date but they should still always run to completion if not using the most up to date set of functions. I'm going to give the demos one last chance.

The examples are quite a bit nicer although it is kind of a shame they don't work well with real data.

There are also so many non linked jupyter notebooks that people might find interesting. I try to release my notebooks with every publication, you've got some nice ones as well as do many of the NTNU users. Making those more visible would be good and would be a good practice to encourage.

Maybe something of a hyperspy or pyxem repository of notebooks would be helpful. I've been meaning to write up a publication guide.

Something like:

  • Store data in Zenodo or Materials Data Facility with a DOI
  • Include Jupyter notebooks for analyzing the code. Include a requirements.txt file with the version of pyxem and hyperspy.
  • Include information about the associated publication etc in a metadata file. This can include things like tags for publications, scripts, or workshops
  • Push this to a GitHub repository

I might have to play around with how to do this but we could set up a CI action to curate a database of code tutorials.

I still like the idea of them being rendered in the documentation as they show what's possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants