Comments (3)
Hi IIker, It sounds like you are either:
- not running gprMax from the top-level directory, i.e the directory with setup.py, README.rst etc..
- or are not running gprMax as a module, i.e with the '- m' flag.
'python3 -m gprMax inputfile'
Can you check you are doing these things.
from gprmax.
Hello Professor;
Thank you for your help. I have fixed the problem; but now whenever I want to display B scan; it throws another exception though I do not have any problem when i display A scan. It seems the index into an array is out of array' s bound :
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/mesut/Documents/gprMax/tools/plot_hdf5_Bscan.py", line 41, in
plt.imshow(data, extent=[0, data.shape[1], data.shape[0]*f.attrs['dt'], 0], interpolation='nearest', aspect='auto', cmap='seismic', vmin=-np.amax(np.abs(data)), vmax=np.amax(np.abs(data)))
IndexError: tuple index out of range
Kind Regards,
Ilker
from gprmax.
Hi IIker, Glad you fixed the original problem. Can you start a new issue for your B scan problem and attach or paste the input file and command you are using the run the model. I'm closing this issue.
from gprmax.
Related Issues (20)
- Feeding point in an open-ended coaxial probe HOT 1
- Problem with relation between parameter "beta" and fractal dimension "D" HOT 7
- Error in water epsilon r (master branch) HOT 3
- Grid.solid and materials numID mismatch for multiple fractal boxes with Peplinski soils - master branch HOT 1
- #hertzian_dipole Antenna Pattern HOT 1
- 'gbk' can't decode README.rst in setup.py HOT 7
- Slack Login HOT 2
- Fix to material names in Peplinski soils
- Problem about the snapshot of the electromagnetic fields using #snapshot command HOT 2
- Some suggestions for initialization HOT 3
- High GIL Overhead in PML Update Kernel HOT 1
- This came up when I was trying to plot the orientation of the antenna HOT 2
- Broken Rx() arg outputs=[] HOT 2
- When I visualise the GSSI 1.5 GHz antenna, I can't see the bowtie-shaped HOT 1
- Possible bug in v4: erroneous asymmetry in TWTL sim compared with v3 HOT 2
- PML bug when using magnetic materials HOT 2
- Subgrids: Rxbowtie not allowed HOT 4
- Slow model build time with v4 vs v3 HOT 5
- about png2h5 HOT 2
- how to use #python #end_python HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gprmax.