Delaican / MUYSC

0 stars 1 forks source link

About MUYSC_Tomo.ipynb #1

Open HcupSuki opened 7 months ago

HcupSuki commented 7 months ago

Question describe:

In MUYSC_Tomo.ipynb I found that I don't know how to output "coordinates.dat", "heightmap.dat" and "heightmap2.dat". And those data are required in sentences:

points = get_coords('E:/PY project/MUYSC/coordinates_data/coordinates.dat')

heightmap = np.loadtxt('/home/kevin/Documentos/Tesis/Files/heightmap.dat')

path2 = '/home/kevin/Documentos/Tesis/Files/heightmap2.dat'

Requests:

  1. Could you please upload those data that are mentioned above or tell me how to output them in previous MUYSC modules?

  2. And also I want to know if the muogram.data mentioned in MUYSC_Tomo.ipynb can be correctly output through:

a = MuyscImprove.Mute(regionPoints,80,srtm1_data, "jet") a.elevation() a.plot_structure() a.pointView(P1,RefPoint) a.plot_lines(cenit,azimut) a.show_distances() a.show_distances_no_extent() a.Flux() a.save_data('Muogram_P1')

I will be sincerely grateful for your answer.

Delaican commented 7 months ago

Hi, thanks for reaching out! This notebook ran an earlier version of MUYSC, currently the coordinates are obtained as metadata within each muogram file (obtained with the code you show below). As for the heightmap files, they are the topography itself, which values were downloaded as .dat files. The first file is the full view you're using to get the muograms, and the second one is the cropped view (obtained again from the module) using the reconstruction region. Hopefully that answer your questions.

HcupSuki commented 7 months ago

Thank you for your answer! And I am still confused by several issues. Firstly, I want to know how to grand this muogram data through the latest version of MUYSC, Because it seems that using the "a.save_data('Muogram_P1')" can't export the correct input data form of MUYSC_Tomo;

image image(3 muogram data I exported) image(42 muogram data input in the example)

And secondly I want to know if it's possible to download those topography data in the form of .dat through MUYSC to ensure that I am using the exact same data as the radiography module. Now I can only use MUYSC to download the .hgt file and I don't know how to transform it as a .dat file because I don't have any GIS software(I am a student major in particle physics).

image