marinerhemant / midas Goto Github PK
View Code? Open in Web Editor NEWThe repository provides codes under the Microstructural Identification using Diffraction Analysis Software
Home Page: http://marinerhemant.github.io/MIDAS/
License: Other
The repository provides codes under the Microstructural Identification using Diffraction Analysis Software
Home Page: http://marinerhemant.github.io/MIDAS/
License: Other
Hi Hemant,
I am logging this bug based on our conservation:
The AutoCalibrate.py script takes as input the path to the Ceria scan and the dark file. When I ran this, the “CeO2_3s_100x100_att000_840mm_71p68keV_000412.edf.ge5.corr.csv” file was generated in the same directory where I ran the .sh script that calls this function, which was different than where I have my data and dark files. I got the error below because the script expects that the user will always execute the script/command to AutoCalibrate.py in the same directory as the DATAFN and DARKFN.
AutoCalibrate.py fails on line 134. This can be fixed if line 1453 in CalibrantOMP.c considers the directory where the script is executed.
Running MIDAS calibration, might take a few minutes. Trial Nr: 1
Path of int:
/scratch/negishi/kstopka/sangid_sep22/ge5/CeO2_3s_100x100_att000_840mm_71p68keV_000412.edf.ge5
Traceback (most recent call last):
File "/home/kstopka/opt/MIDAS/utils/AutoCalibrate.py", line 314, in <module>
rOrig = runMIDAS(rawFN)
^^^^^^^^^^^^^^^
File "/home/kstopka/opt/MIDAS/utils/AutoCalibrate.py", line 134, in runMIDAS
results = np.genfromtxt(fn+'.corr.csv',skip_header=1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/apps/spack/negishi/apps/anaconda/2024.02-py311-gcc-8.5.0-lr57z2f/lib/python3.11/site-packages/numpy/lib/npyio.py", line 1980, in genfromtxt
fid = np.lib._datasource.open(fname, 'rt', encoding=encoding)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/apps/spack/negishi/apps/anaconda/2024.02-py311-gcc-8.5.0-lr57z2f/lib/python3.11/site-packages/numpy/lib/_datasource.py", line 193, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/apps/spack/negishi/apps/anaconda/2024.02-py311-gcc-8.5.0-lr57z2f/lib/python3.11/site-packages/numpy/lib/_datasource.py", line 533, in open
raise FileNotFoundError(f"{path} not found.")
FileNotFoundError: /scratch/negishi/kstopka/sangid_sep22/ge5/CeO2_3s_100x100_att000_840mm_71p68keV_000412.edf.ge5.corr.csv not found.
Best regards,
Krzysztof Stopka
We need the ip of each login node to run this.
Still to implement.
Hi,
It would be useful to add further documentation of the input parameters for the MatchGrains script, including
stateN.txt:
SGnr:
Also, in what scenario would the user provide an input for referenceMisorientation
? This could use an explanation similar to the one provided for the two options of removeDuplicates
.
Best regards,
Kris
Krzysztof Stopka
Check if remove duplicates 1 needs greater number of grains for state1 or state2 in MatchGrains
Implement a sorted linked list for NF all matches
Instead of g_distorted, use g_undistorted to fit.
Check for non overlapping volumes and use those.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.