IDStools Cheatsheet¶
This cheat sheet provides quick reference of commonly used commands in IDStools.
Analysis Tools¶
Command |
Description and Example Usage |
|---|---|
plotcoresources |
Plots core_sources results (replaces csplot). |
|
|
plotcoretransport |
Core plasma transport of particles, energy, momentum and poloidal flux (replaces check_transport). |
|
|
ploteccomposition |
Display ec results (replaces eccomp). |
|
|
plotecray |
Display EC wave ray-tracing results (replaces ecray). |
|
|
plotecstrayradiation |
Shows electron cyclotron stray radiation. |
|
|
plotedgeprofiles |
Shows edge profiles plots by interpolating on rectangular grid. |
|
|
plotequilibrium |
Shows plasma equilibrium (replaces equiplot). |
|
|
plotequicomp |
Shows plasma equilibrium and quantities related with it |
|
|
printfluxes |
Shows flux information from available transport models (replaces print_fluxes). |
|
|
plothcddistributions |
shows waveforms (replaces hcd_distributions_plot). |
|
|
plothcd |
shows plots from distributions and waves for different data entries for analysis (replaces hcd_plot). |
|
|
plothcdwaves |
shows waveforms (replaces hcd_waves_plot). |
|
|
plotkineticprofiles |
Shows plasma kinetic profiles from the core profiles (replaces kinplot). |
|
|
plotmachinedescription |
Plots machine description data stored in databases. (replaces mdplot) |
|
|
plotneutron |
Plots particles vs normalised toroidal flux coordinate (replaces neutronplot). |
|
|
printplasmacompo |
Display the plasma composition from the core_profiles IDS (replaces ids_compo). |
|
|
plotpressure |
Display the plasma kinetic profiles from . the core_profiles (replaces pressureplot). |
|
|
plotrotation |
Plasma kinetic profiles from the core_profiles (replaces rotationplot) |
|
|
plotscenario |
Display the plasma kinetic profiles and equilibrium from the core_profiles and equilibrium (replaces scenplot). |
|
|
printcoresources |
|
|
|
plotspectrometry |
Displays the spectrum, displaying plots of radiance and intensity in two different windows (replaces svplot). |
|
IDS Manipulation Tools¶
Command |
Description and Example Usage |
|---|---|
eqdsk2ids |
EQDSK Convertor. |
|
|
idscp |
Copy ids from one pulse to another |
|
|
idsdiff |
Shows ids level differences between two runs. It stores result in html document. For signals differences it is also shown as graph. |
|
|
idslist |
Shows list of all idses along with count of time slices. (replaces ids_content(yaml), listidss (with time slices), idsoccurrences(occ) merged into one script) |
|
|
idsperf |
Shows performance of access layer operations on dataset. timing and performance information for different types of operations on IDS data with the IMAS Python Access Layer. |
|
|
idsprint |
Dumps or prints all data on the console. Check if specific fields or attributes have been filled out or empty The output can also be saved to a file using extraction (Replaces idsdump, idsdumppath) |
|
|
idsresample |
Resample IDSs from a data-entry and save them into another data-entry based on PREVIOUS_INTERP method. |
|
|
idsrescale_equilibrium |
Rescaling an equilibrium magnetic field, storing the output into another entry of the same DB. replaced by ids_rescale_eq |
|
|
idsshift_equilibrium |
Rigidly shifts vertically an equilibrium, storing the output into another entry of the same DB. replaced by ids_shift_eq |
|
|
idssize |
IDS size in bytes and the time taken to read each object. It also shows total size of all IDS objects in the data entry. It shows total time taken to read all objects from the data entry. It is helpful for performance check of IDS objects. |
|
Database Tools¶
Command |
Description and Example Usage |
|---|---|
dbconverter |
Copy all data-entries from one database into another one |
|
|
dblist |
Lists existing IMAS databases (Replaces imasdbs). |
|
|
dbperf |
Check performance of database |
|
|
dbscraper |
The dbscraper script scrapes data from a particular IDS path for a specified series of pulses and displays the pulse along with the value. (Replaces db_extractor) |
|
|
dbselector |
The dbselector script shows lists of all scenarios where specified ids exists. Just provide idsname as input argument to the script. |
|
Scenario Database Tools¶
Warning
Scenario Database tools are keeping their legacy arguments as they will be soon deprecated and replaced by SimDB.
Command |
Description and Example Usage |
|---|---|
create_db_entry |
Auto-generated yaml scenario and watcher files |
create_db_entry_disruption |
Auto-generated yaml scenario and watcher files for disruption database |
disruption_summary |
Script to list available disruptions in a specific folder |
md_status |
Show status and potential parent and children for a given simulation stored in ITER machine description database folder |
md_summary |
md_summary list available machine description data in a specific folder with search facility |
scenario_status |
The scenario_status program provides information about the scenario of specified shot and run number from the scenario database. It shows status and potential parent and children for a given simulation stored in ITER scenario description database folder |
scenario_summary |
The scenario_summary lists available scenarios in a specific folder with search facility. |
show_db_entry |
Show full description file for a given simulation stored in ITER DB folder. |
watch_db_entry |
Subscribe/unsubscribe as a watcher to a simulation file stored in IMAS DB |