BlastingPy
Open-source Python library, with a C++20 core, to analyze the effects of blasting in mining: ground vibration, airblast, flyrock and near-field vibration.
The central use case: a blasting engineer ends a monitoring campaign with a table of events (distance, maximum charge per delay, PPV, frequency). BlastingPy fits the attenuation law of the site, computes the maximum charge per delay and checks the result against a regulatory criterion, stating the edition, table, magnitude and frequency method used.
Documentation: https://miqueas.dev/blastingpy (guide, methods, worked examples and API reference, in English and Spanish).
Status: version 0.2.0. Its six blocks: events table, attenuation law, maximum charge and compliance verdict; reading seismograph records (waveform, PPV, vector sum, frequency); airblast; flyrock (published range models, per-hole comparison and clearance distance); near-field vibration (Holmberg-Persson, Heelan, whole-blast simulation and its Monte Carlo); and the bench pattern (burden by several methods, hole layout, firing sequence, charge per hole and DXF).
Install
python -m pip install "blastingpy[io,viz,dxf]"
Wheels are published for Python 3.10 to 3.14 on Linux, Windows and macOS. Extras: io (read and write .xlsx), viz
(charts), dxf (read and write .dxf), seismic (ObsPy readers). To build from the source distribution on PyPI (needs a C++ compiler and CMake):
python -m pip install --no-binary blastingpy "blastingpy[io,viz,dxf]"
Example
import blastingpy as bp
from blastingpy import attenuation, criteria, plotting
events = bp.read_events("campaign.csv", units="metric", ppv_kind="component_max",
columns={"distance_m": "Distance", "charge_kg": "Charge", "ppv_mm_s": "PPV",
"frequency_hz": "Freq"})
law = attenuation.fit(events, law="sqrt") # PPV = K (D / sqrt(W))^-beta
result = attenuation.max_charge(law, 300.0, 12.7) # kg per delay at 300 m, PPV <= 12.7 mm/s
print(result.value, result.warnings)
verdict = criteria.evaluate(events, "USBM-RI8507-1980", "appendix-b-drywall")
print(verdict["status"].value_counts())
plotting.plot_site_law(law, events)
plotting.plot_compliance(events, "USBM-RI8507-1980", "appendix-b-drywall")
write_events_template("events.csv") writes the blank table. A complete, runnable version with synthetic data is in
the worked case 01.
From a seismograph record
blastingpy.io reads the waveform a seismograph exports; blastingpy.waveform turns it into peaks, vector sum and
frequency, and into a row of the events table of the sections above. The facts and their evidence are in
the waveform method page.
from blastingpy import attenuation, criteria, io, waveform
records = [io.read_instantel_ascii(p, sample_rate_hz=1024, pretrigger_s=0.25) for p in paths]
events = waveform.events_from_records(records, distance_m=[100, 150, 200], charge_kg=[20, 50, 30])
law = attenuation.fit(events, law="sqrt")
verdict = criteria.evaluate(events, "USBM-RI8507-1980", "appendix-b-drywall")
A complete, runnable version with synthetic data is in the worked case 02.
| Reader | format_evidence |
Notes |
|---|---|---|
read_instantel_ascii, minimal (Tran Vert Long MicL and rows) |
real-file |
No metadata: pass sample_rate_hz (and pretrigger_s). |
read_instantel_ascii, THOR |
third-party-parser |
Not validated against a real file: built from a third-party parser's description. |
read_instantel_ascii, Blastware with header (table or blocks) |
manual-only |
Not validated against a real file: built from the manual; the record carries a warning. Only the default separators: header in double quotes, block values separated by commas. Header units are a hint: units= wins, with a warning. |
read_instantel_histogram |
manual-only |
Not validated against a real file: built from the manual; returns a DataFrame with a warning in attrs. |
read_waveform_csv |
user |
Any mark or renamed channels (columns=, units=, sep="\t"); scientific notation accepted. |
read_obspy (extra seismic) |
user |
miniSEED, SAC and other formats ObsPy reads. |
A real export of each unvalidated format would settle it. Meanwhile, check the first record you read against what your seismograph's own software shows.
- The sample rate is never guessed. If the file lacks it and you do not pass
sample_rate_hz, the reader raises an error.read_waveform_csvwith a time column fits the rate by least squares and refuses a non-uniform column; a fitted rate within 1e-6 of a whole number, and a pretrigger within 1e-3 of a sample period of a whole sample, are taken as those values (times rounded to the microsecond give 1024.0000003 Hz). SAC stores the sample interval rounded, so a 1024 Hz SAC reads as about 1023.54 Hz:read_obspykeeps the file's rate, adds a warning that names the whole number, and takessample_rate_hz=(it must agree with the file within 0.1 %). - Units. Inside everything is SI (mm/s, Pa, s). Units are inferred from the resolution only for the Micromate and
Minimate Pro steps (0.00788 mm/s, 0.0156 Pa), with a warning; otherwise pass
units=. - Renamed channels are not recognized by the Instantel readers: use
read_waveform_csv(..., columns=..., units=..., sep="\t")(units=is required there). - Zero-crossing frequency.
analyze(zc_method="interpolated")(default) interpolates the crossings;"instantel"counts whole samples and flags a frequency above 100 fs / 1024 Hz. The frequency is NaN when the record edge cuts the half cycle of the peak or, with"instantel", above that limit. The verdict is thennot_comparableagainst a frequency-dependent curve, never a guess. - Vector sum.
pvs_mm_sis the real vector sum (maximum of the sum of squares sample by sample); the pseudo vector sum is the square root of the sum of the squares of the three component peaks, an upper bound of the real one. - FFT.
fft_frequencytakes the dominant frequency of the whole record and lists the peaks within 6 dB of the largest. When the dominant peak is in the two lowest bins (f <= 2 / T, T the record length), as with several holes that interfere, the spectrum is dominated by the record's envelope or a trend, not by an oscillation:fft_frequencywarns (UserWarning) andanalyzeadds it to its warnings. Use the zero-crossing frequency then. - Acceleration and displacement. They depend on the precision of the exported file: with three significant figures or fewer the summary warns. Displacement integrates each half cycle as the sum of V times the time step and halves the largest, as the Instantel manual describes.
Airblast
blastingpy.airblast fits the site law to the peak overpressure, checks it against the airblast limits and carries the
published equations. The facts, pages and marks are in
the airblast method page.
from blastingpy import airblast, waveform
events = waveform.events_from_records(records, distance_m=[150, 200, 250], charge_kg=[40, 80, 60])
law = airblast.fit(events) # cube-root law on airblast_pa
limit = airblast.limit_db("OSMRE-30CFR816.67", system="2Hz")
charge = airblast.max_charge(law, 400.0, limit.pressure_pa)
verdict = airblast.evaluate(events, "OSMRE-30CFR816.67", system="2Hz")
A complete, runnable version with synthetic data is in the worked case 03.
- Units. Inside everything is Pa.
airblast.to_db/from_dbconvert with P0 = 20 uPa;read_events(..., units={"pressure": "Pa" | "kPa" | "psi" | "dB"})andunits.to_siaccept Pa, kPa and psi. Events carryairblast_paandairblast_freq_hz;waveform.events_from_recordsfills them from the microphone. - Site law.
airblast.fitis the regression of the vibration law with the cube-root form, P = K (D / W^(1/3))^-beta, onairblast_pa: same statistics, upper bound K 10^(z sigma) (RI 8485, Table B-1, fits airblast this way).predict,max_chargeanddistance_forwork as inattenuation.outliersandresidualsrefer to the rows used in the fit. - An airblast-only campaign is passed as a DataFrame with
distance_m,charge_kgandairblast_pa. - The measuring system is required. The library refuses to compare against a limit without it.
- Verdicts as in
criteria.evaluate:airblast.evaluategivesnot_comparableto an event without an airblast value (missing or NaNairblast_pa) andindeterminateto a value outside the domain (<= 0 or infinite). - A C-weighted slow level is not a linear peak: with
system="c-slow"every verdict isnot_comparable, and so is a C-slow published equation against any limit. A published equation is a median:predict_publishedandevaluate_predictionalways warn that about half of the blasts exceed it.
| System | USBM RI 8485 (1980) | OSMRE 30 CFR 816.67 |
|---|---|---|
0.1Hz (lower cutoff 0.1 Hz or lower) |
134 dB | 134 dB, only if the regulatory authority approves |
2Hz |
133 dB | 133 dB |
6Hz (a 5-Hz system uses this row) |
129 dB | 129 dB |
c-slow (C-weighted, slow) |
105 dB, events up to 2 s | 105 dB, only if the regulatory authority approves |
airblast.system_from_cutoff(low_cutoff_hz) gives the system of a linear microphone. The limit depends on the lower
cutoff because a level in dB is a peak of what the microphone passes: the lower the cutoff, the more low-frequency
pressure it counts, so each system has its own limit.
Published equations (list_equations, published, predict_published) are medians, without an upper bound, tied to
the system they were fitted with. Fourteen come from RI 8485 Table B-1, two from the OSMRE BLEP and one from AS 2187.2.
| Equation id | System | Mark |
|---|---|---|
USBM-RI8485/coal-highwall/{0.1Hz,2Hz,5Hz,c-slow} |
as named | V1 |
USBM-RI8485/coal-parting/{0.1Hz,2Hz,5Hz,c-slow} |
as named | V1 |
USBM-RI8485/metal-mine-highwall/0.1Hz |
0.1 Hz | V1 |
USBM-RI8485/quarry/0.1Hz, USBM-RI8485/quarry-direction-of-initiation/0.1Hz, USBM-RI8485/quarry-behind-face/0.1Hz, USBM-RI8485/quarry-opposite-initiation/0.1Hz, USBM-RI8485/quarry-front-of-face/0.1Hz |
0.1 Hz | V1 |
OSMRE-BLEP/highwall, OSMRE-BLEP/parting |
not stated | V1 |
AS2187.2-2006/free-face |
not stated | V2 |
BLEP's two equations come from 0.1 Hz fits (RI 8485 states that fit; BLEP itself does not state a system), but BLEP compares them with the 2 Hz limit; evaluate_prediction warns when
the equation's system differs from the limit's. AS 2187.2 is [V2], from a single secondary source.
Not included: wind correction, the Australian comfort limits and AS 2187.2 from the standard itself.
Flyrock
blastingpy.flyrock carries the published rock-projection models, a per-hole comparison table and the clearance
distance. The facts, pages and marks are in
the flyrock method page.
import pandas as pd
from blastingpy import flyrock
holes = pd.DataFrame({"diameter_mm": [165.0, 165.0], "burden_m": [4.0, 3.2], "stemming_m": [3.0, 2.5],
"linear_charge_kg_m": [18.2, 18.2], "hole_angle_from_vertical_deg": [10.0, 10.0]})
table = flyrock.compare(holes, k=27.0) # ranges in m, one row per hole
worst = table["max_model_m"].max() # the worst hole, largest hole-specific range
clear = flyrock.clearance(worst, target="people", regulation="PE-DS024-2016-EM")
print(clear.distance_m, clear.governs)
A complete, runnable version with a synthetic hole table is in the worked case 04.
- No model carries a safety margin;
clearanceadds it: factor 2 for equipment and 4 for people (Richards & Moore), or your own factor >= 1. - Peruvian minimum: DS 024-2016-EM art. 267 a), as amended by DS 034-2023-EM: a 500 m radius when rock can be projected through 360 degrees, and in bench blasts at least 500 m in the direction the blast throws. It applies to the evacuation of workers (people, not equipment); the result says which of the model and the regulation governs (
governs). Reporting the larger of the factored range and 500 m is a design decision, not the text of the regulation. kis required (Richards & Moore site constant): 13.5 for soft competent rock, 27 for hard competent rock; the published data range is 15 to 37. Akoutside [13.5, 37] gives a warning (the range goes with k²).- Hole table: required columns
diameter_mm,burden_m,stemming_m,linear_charge_kg_m(orexplosive_density_kg_m3, 300-2000 kg/m3, to compute it for a full hole); optionalcharge_length_m,hole_angle_from_vertical_deg,powder_factor_kg_m3(Lundborg's range by powder factor) andsdob_m_kg13(McKenzie, in m/kg^(1/3)). A NaN in an optional column means "not given for that row". max_model_mis the largest range across the hole-specific models of each hole (rm_face_burst_m,rm_cratering_m,rm_stemming_ejection_m,lundborg_q_m,mckenzie_2018_m);comparewarns about the holes where it is more than twicerm_max_m.lundborg_max_mstays apart: it depends only on the diameter (Lundborg's practical maximum, for the optimal fragment), so it is the same for every hole of one diameter and does not tell which hole is the worst; it is the diameter-only upper envelope, andcomparewarns about the holes where it is more than twicemax_model_m. The blast's clearance is governed by its worst hole, and choosing the model is the engineer's decision:clearancetakes one range and says so in its notes.- Warnings where the result can come out too short: Lundborg's powder-factor range below its maximum (in
compare, below half of it, a design threshold; a powder-factor correlation tends to underestimate, Roth 1979), an SDoB above 2.4 (ft/lb^(1/3) instead of m/kg^(1/3)?), a vertical hole, Roth's calibrated equations near their minimum c/m, and a linear charge implying a density below 300 kg/m3. A density in g/cc is an error. - Charge column shorter than 1 m:
compareuses the actual charge mass (kg) instead of the linear charge, as Richards & Moore prescribe, and warns. - Hole angle is measured from the vertical. A vertical hole gives 0 m of stemming ejection, with a warning (the source says vertical holes need an adjustment).
- Diameters are in mm (the Lundborg source uses inches; the library converts and rejects values that look like inches or metres).
- The models are different estimates, not a consensus: nothing averages them or picks one.
| Model | Estimates | Inputs | Mark | Source read |
|---|---|---|---|---|
Ballistics, FLY-BALLISTIC (range_level, max_range_level, range_to_height, max_height, velocity_for_range) |
Range and height without drag | Velocity, launch angle | V1 | Roth 1979 eqs. (1)-(3), (5); Richards & Moore eqs. [4]-[5]; Moore & Richards 2005 eqs. [7], [9], [10] |
Richards & Moore, FLY-RM-FACE, FLY-RM-CRATER, FLY-RM-STEMMING (rm_face_burst, rm_cratering, rm_stemming_ejection, rm_min_confinement) |
Maximum range by face burst, cratering and stemming ejection; minimum burden or stemming | k, charge (kg/m), burden, stemming, hole angle |
V1 | Richards & Moore, ISEE, eqs. [6], [7a]-[7c] |
Lundborg, FLY-LUNDBORG-MAX, FLY-LUNDBORG-Q (lundborg_max_range, lundborg_optimal_fragment, lundborg_range) |
Maximum range and optimal fragment size; range by powder factor | Diameter (mm), powder factor | V2 | As restated by Richards & Moore, McKenzie 2018 and Szendrei & Tose 2022; originals not read |
McKenzie 2018, FLY-MCKENZIE-2018 (mckenzie_max_range) |
Maximum range | SDoB (you supply it), diameter | V1 | McKenzie 2018 summary, slide 11, version 2018 only |
Roth, FLY-ROTH-GURNEY, FLY-ROTH-CAL (roth_charge_mass_ratio, roth_gurney_velocity, roth_launch_velocity, roth_calibrated_velocity, roth_reference_gurney_velocity) |
Launch velocity from c/m and the Gurney velocity; calibrated equations | Linear charge, rock density, burden, detonation velocity | V1 | Roth 1979, USBM OFR 77-81, eqs. (7)-(10), (13), (13a), (14), (17) |
flyrock.info(flyrock.Model.X) gives the id, mark and citation of each one, and compare carries them in attrs.
Published critiques (attrs["critiques"]): models without drag can overestimate the range by factors of 2 to 8; Lundborg holds for spherical fragments of the optimal size; McKenzie inherits Lundborg's calibration (Szendrei & Tose 2022, JSAIMM 122(12), pp. 726-731); a powder-factor correlation tends to underestimate the range (Roth 1979, pp. 10-11, 29-31).
Not included, and why: McKenzie (2009) coefficient and the SDoB definition (no source read defines it, so SDoB is yours to give), McKenzie's fragment size and minimum stemming, Roth's graphical curves and bench correlation, scaling Roth's calibrated equations to other explosives (the source does not state the rule and its printed factor looks inverted), drag trajectories, the shape of the clearance zone, and a hole-table file reader (pass a DataFrame; pandas already reads CSV and Excel).
Near field
blastingpy.nearfield estimates the vibration close to a charge (Holmberg-Persson, Heelan) and simulates a whole blast
by superposing a seed waveform, with a Monte Carlo over the delays and the amplitudes. The facts, pages and marks are in
the near-field method page.
import pandas as pd
from blastingpy import attenuation, datasets, nearfield
# Holmberg-Persson around a 3 m charge of 1 kg/m. K, alpha and beta are yours to give.
charge = dict(k=700.0, alpha=0.7, beta=1.5, linear_charge_kg_m=1.0, z_start=-1.5, z_end=1.5)
critical = nearfield.ppv_critical(10e6, 5000.0, 50e9) # T Vp / E with the static E: 1000 mm/s
extent = nearfield.hp_damage_extent(nearfield.HpModel.Niosh, **charge, z=0.0, ppv_limit_mm_s=critical)
# Heelan around a 6 m column primed at the bottom.
source = nearfield.PressureSource(vn_pressure_pa=5e9, n=6, gamma_per_s=8000.0)
medium = nearfield.Medium(p_velocity_m_s=5000.0, s_velocity_m_s=2900.0, density_kg_m3=2700.0)
column = nearfield.Column(hole_radius_m=0.05, z_bottom=0.0, z_top=6.0, elements=41, primer_element=1,
vod_m_s=4500.0, charge_exponent=1.0)
peak = nearfield.heelan_ppv(source, medium, column, 5.0, 3.0) # at r = 5 m, z = 3 m
print(peak.ppv_mm_s, peak.warnings)
# A whole blast: hole table, seed (the record of a single-hole shot) and site law.
holes = pd.DataFrame({"x_m": [0.0, 5.0, 10.0], "y_m": 0.0, "charge_kg": 80.0, "firing_time_s": [0.0, 0.017, 0.034]})
seed = (datasets.synthetic_record(pretrigger_s=0.0, mic_pa=None), "vertical") # stands in for your record
blast = dict(law=attenuation.fit(datasets.synthetic_events(), law="sqrt"), wave_velocity_m_s=3000.0)
result = nearfield.simulate_blast(holes, (5.0, 120.0), seed, **blast)
print(result.ppv_mm_s, result.arrivals, result.warnings)
mc = nearfield.monte_carlo_blast(holes, (5.0, 120.0), seed, delay_sigma_s=0.002, amplitude_cv=0.25,
simulations=2000, rng_seed=1, **blast)
print(mc.percentile(95), mc.probability_exceeding(25.0))
A complete, runnable version with synthetic data is in the worked case 05.
| Model | Estimates | Inputs | Mark | Source read |
|---|---|---|---|---|
Holmberg-Persson, original integral form (hp_point, hp_original, hp_grid("original", ...)) |
Static PPV around a long charge, K [q ∫ dz / (r² + z²)^(β/(2α))]^α | K, α, β (yours), linear charge (kg/m), charged span and point (m) | V1, through NIOSH | Iverson, Kerkering & Hustrulid (2008), NIOSH, eqs. 1 and 5. Holmberg & Persson's own papers were not read |
Holmberg-Persson, closed form for β = 2α (hp_term) |
The same integral as an arctangent; hp_original uses it when β = 2α |
Linear charge, charged span, point | V2 | Onederra & Esen (2004), Fragblast 8(2), eq. 2 |
NIOSH modified form (hp_mean_distance, hp_niosh, hp_grid("niosh", ...)) |
K (q L)^α / R̄^β, with R̄ the mean distance from the charge to the point | The same as the original form | V1 | NIOSH (2008), eqs. 8-10 |
Critical PPV (ppv_critical) and damage extent (hp_damage_extent) |
T Vp / E, and the radial distance at which either form falls to a PPV limit | Tensile strength and static Young's modulus (Pa), P velocity (m/s); form, constants, charge, height z, limit (mm/s) | V2; the extent takes the mark of the form used | Onederra & Esen (2004), eq. 11, citing Persson, Holmberg & Lee (1994, p. 247). That the modulus is the static one is inferred |
Heelan element (heelan_element, with pressure_function, g_function, g_peak, scaled_frequency, heelan_amplitude) |
P and SV velocity waveform radiated by a short cylindrical charge | PressureSource (von Neumann pressure in Pa, n, decay γ in 1/s), Medium (Vp and Vs in m/s, density in kg/m³), hole radius, half length, point, times |
V1 | Heelan (1953), Geophysics 18(3), eqs. 12-13, in the form of Blair (2007), Geophysics 72(2), eqs. 8 and 13-16 |
Heelan column (Column, column_weights, heelan_column, vector_peak, heelan_ppv) |
Waveform and vector PPV of a column initiated at the detonation velocity, linear (A = 1) or with non-linear weights (A < 1) | Source, medium, Column (hole radius, span, odd number of elements, primer element, detonation velocity in m/s, charge exponent A), point |
V1 | Blair (2008), IJRMMS 45, eqs. 1-3 and 22. Inferred: the initiation time of each element and the mirrored weights when the primer is above mid-column |
Seed superposition (superpose, simulate_blast, delay_sweep) |
Waveform of a whole blast at a monitor: one seed per hole, delayed and scaled | Hole table, monitor, seed, site law, wave velocity | V1 | Hinzen (1988), IJRMMS 25(6), eqs. 3-7; Blair (1999), Fragblast 3(4), eq. 1a |
Full-blast weights (screening_counts, screening_factor, charge_scaling_weights, damage_weights) |
Weight of each hole by screening, charge scaling or damage | Positions, charges, firing times, mean spacing (m) | V1 | Blair (1999), eqs. 10b-10c; Blair (2008), eqs. 7-12 and 16-21 |
Monte Carlo (monte_carlo_peaks, monte_carlo_blast) |
Distribution of the peak with scattered delays and amplitudes | The same as the simulation, plus delay_sigma_s (s), amplitude_cv, simulations, rng_seed |
V1 for the equations; the delay distribution is yours | Blair (1999), eqs. 1b and 7 |
Charge per window (max_charge_per_window, max_charge_8ms_kg) |
Largest charge fired within 8 ms | Firing times (s), charges (kg) | V2 | Duvall et al. (1963), as reported by Blair (1999, p. 337) |
- Units. Lengths, coordinates and spacing in m; charges in kg and linear charge in kg/m; firing times, delays and their scatter in seconds, not milliseconds; wave and detonation velocities in m/s; pressures and moduli in Pa; density in kg/m³; sample rate in Hz. Every PPV and waveform comes out in mm/s (the
hp_*functions return the unit K carries: mm/s with constants fitted in mm/s, kg and m). - K, α and β of Holmberg-Persson are required. No function has a default for them. 700 / 0.7 / 1.5 are the values NIOSH reports for surface blasts ([V2], attributed to Lundborg et al. 1978; no rock type is named); they are offered as data in
HOLMBERG_PERSSON_SURFACE, with their citation, and are used only if you pass them. Fit the constants of your site. - Holmberg-Persson is static, and its integral has a known flaw. It is time-independent and ignores the detonation velocity (Onederra & Esen 2004, p. 62, summarizing Blair & Minchinton 1996 and 1997). Going from the sum over charge elements to the integral moves the exponent α from inside the sum to outside the integral, and the exponent does not commute with the sum (Hustrulid & Lu 2002, as reported by NIOSH, PDF p. 7; Blair 2008, p. 235, states the same defect). NIOSH's modified form answers it with a mean distance. The original form diverges on the charged axis (
hp_originalraises there,hp_gridgives NaN); the modified form is finite everywhere. - Heelan holds within limits, and the library warns outside them. Blair (2007, pp. E37-E40): the scaled frequency Ω_A = c γ a / Vp must be at most about 0.1 (above it Heelan overestimates the exact solution at any distance); the point is in the near field when Ω_A r / a < π; and the half length of an element should not exceed about twice the radius.
ais the hole radius, the convention of Blair (2007); Heelan (1953, p. 695) defines it as the radius of the equivalent cavity.heelan_ppvrefuses nothing on those grounds: each limit that is not met goes inwarningswith the computed number, next to the standing caveats (P and SV are added linearly where they overlap; the non-linear column weights have no experimental validation). - Time grid of
heelan_ppv. The PPV is always the peak of the waveform. Withoutsample_rate_hzandduration_sthe grid is automatic: a step of 1 / (40 γ) until the last arrival plus 40 / γ (or plus (n + 4√n + 2) / γ if longer). With your own grid it warns when the record ends before the last arrival plus (n + 4√n + 2) / γ, the length of the pulse (the peak may be truncated) and when the step is longer than 1 / (10 γ) (the pulse is under-resolved; the sample rate of a seismograph is usually far too low here). - Whole-blast simulation. The amplitude of each hole is the median prediction of the site law (not its upper bound) for its charge and its distance to the monitor, times a weight; each hole arrives at its firing time plus distance / wave velocity; the result is one component, the seed's. The seed is normalized to unit peak and used from its first sample: trim the pretrigger. Inspect
arrivalsbefore trusting the peak. An arrival between two samples is spread linearly over them, which lowers its peak by up to sin²(π f / fs) for a seed of dominant frequency f (9.5 % at f = fs / 10): sample the seed at ten times its dominant frequency or more. - Three weightings, each with its author's caveat (they travel in
warnings)."linear"(Hinzen 1988; Blair 1999), optionally with the screening of Blair (1999), whose g was fitted to one set of field data and whose floor of 0.2 the author sets for lack of near-field data."charge-scaling"(Blair 2008, eq. 12): its author reports an almost linear, unrealistic decay of the amplitude with time and does not recommend it over the damage model."damage"(Blair 2008, eq. 21): η = 0.2 is the author's first estimate and 0.3 fitted his single field case. Blair's (2008) models have no free faces and do not change the shape of the waveform.charge_exponentdefaults to the law's own (β/2 for a square-root law, β/3 for a cube-root law, the fitted exponent for a general law);SiteLaw.charge_exponentis not that number for the scaled-distance laws. - Firing times are compared with a tolerance of 1 ns. Holes within 1 ns of each other are simultaneous: they do not count as already fired for each other, and two holes nominally 8 ms apart never share a window because of rounding.
- The 8 ms window.
max_charge_8ms_kgis the largest charge fired within any 8 ms, by firing times. The window comes from Duvall et al. (1963), as reported by Blair (1999, p. 337), who adds that there is nothing special about 8 ms: whether two holes separate depends on the seed. - What the Monte Carlo randomizes. The arrival of each hole, with a normal scatter of standard deviation
delay_sigma_sthat you give (a design choice: Blair 1999 publishes neither the type nor the deviation of the delay distribution), and its amplitude, multiplied by (1 + c z) with z standard normal and c =amplitude_cv(Blair 1999, eq. 7). It does not randomize the shape of the seed (Blair's fluctuating seed), so the variability of the waveform is under-represented, and the weights come from the nominal firing times. The samerng_seedgives the same peaks (across platforms, to about 1e-9 relative). The defaultamplitude_cv = 0ignores the scatter of the site law: when the law has σ > 0 a warning gives the coefficient of variation of a lognormal with that σ, √(exp((σ ln 10)²) − 1), for you to pass. - Plausibility warnings. Firing times that span more than 20 s or with more than 1 s between consecutive holes, and a delay above 1 s in
delay_sweep, look like milliseconds and are flagged; so is awave_velocity_m_sbelow 100 (it looks like km/s). Adelay_sigma_sabove 1 s is an error; so is a waveform of more than 2 000 000 samples. A seed taken from the microphone channel, a seed whose dominant frequency is above a tenth of its sample rate, and an argument the chosen weighting does not use are flagged too. - Warnings that a lower PPV would otherwise hide.
simulate_blastandmonte_carlo_blastalways say that the amplitudes are the site law's median (about half of the holes exceed it). Withweighting="damage", holes with a screening factor S_n below 0.2 or closer than 99 m to the monitor are listed: S_n (Blair 2008, eq. 20) has no floor and g was fitted with monitors at 99 m or more (Blair 1999, Fig. 7b), so their weights extrapolate the source. These warnings (units, the median,amplitude_cv, the near field of the damage model and the under-sampled seed) go inwarningsand are also emitted asUserWarning, so they show even if you never readwarnings. - Not validated against field data. The functions reproduce the equations and worked numbers of their sources; no simulation here has been compared with a measured blast.
Not included, and the paper that would unlock it: the scaled Heelan model and its constant γ_n (Blair & Minchinton 2006, Fragblast-8, pp. 152-159; the column here is the standard Heelan element with Blair's 2008 weights); the exact solution for the short charge (Blair 2007 and Meredith 1990; read, out of scope); the fluctuating seed of the Monte Carlo (its normalization is derived in Blair 1993a, Int. J. Numer. Anal. Methods Geomech. 17: 95-118); the composition of the longitudinal, transverse and vertical components (Blair 1999, eqs. 15a-15c: the sign convention depends on a figure); the statistical charge and its spectrum (Blair 1999, eqs. 17-23: read, not implemented; eq. 23 as printed carries a factor that its own limit does not give); Heelan's energy partition and his SV/P ratio of 1.6 (the printed formulas are inconsistent); the PPV at the end of the crushing zone (Onederra & Esen 2004, eq. 5, with Liu & Katsabanis 1993 and Esen et al. 2003: an exponent could not be verified and it needs non-ideal detonation pressures); and Holmberg & Persson's own papers (1979) and Persson, Holmberg & Lee (1994, p. 247), with which the integral, the surface constants and the critical PPV would be [V1]. Their 700-1000 mm/s damage limit is for Swedish igneous rocks, as reported by NIOSH, and is not offered as a general criterion.
Bench pattern
blastingpy.pattern computes the burden with four methods side by side (Konya [V1, FHWA], López Jimeno and Ash [V2];
Langefors-Kihlström is listed but not implemented, because the two secondary sources that give its equation disagree,
pending the 1978 book), lays the holes inside a blast outline, assigns firing times (row or V sequence), computes the
charge per hole and writes a DXF (outline, crest on its own layer CRESTA, holes by row or by delay, labels and tie-in).
The DXF needs the optional extra dxf. The facts and marks are on the documentation site.
import numpy as np
from blastingpy import pattern
methods = pattern.burden_methods(diameter_mm=165.0, bench_height_m=10.0, rock_density_kg_m3=2700.0,
explosive_density_kg_m3=850.0, initiation="delayed", ucs_mpa=90.0,
explosive_class="low_density") # one row per method
outline = np.array([[0.0, 0.0], [48.0, 0.0], [48.0, 26.0], [0.0, 26.0]])
crest = np.array([[0.0, 0.0], [48.0, 0.0]])
konya = methods.loc["konya"]
holes = pattern.layout(outline, crest, burden_m=4.2, spacing_m=4.9, arrangement="rectangular")
holes = pattern.sequence(holes, scheme="v", hole_delay_ms=17.0, row_delay_ms=42.0)
holes = pattern.charge(holes, bench_height_m=10.0, subdrill_m=konya.subdrill_m, stemming_m=konya.stemming_m,
diameter_mm=165.0, explosive_density_kg_m3=850.0)
pattern.to_dxf(holes, "malla.dxf", outline=outline, crest=crest, diameter_mm=165.0) # needs blastingpy[dxf]
A complete, runnable version with an invented outline, ending in the simulated PPV, is in examples/06-bench-pattern/
of the source distribution.
Front row and flyrock. layout puts the design burden in burden_m on every hole, and adds crest_distance_m: the
distance from each front-row hole to the real crest, NaN in the other rows. That distance is the real burden of the
front row. flyrock.compare reads burden_m, and the face-burst range grows as B^-2.6 (Richards & Moore), so a front
burden 20 % short gives about 1.8 times the range. Put the real burden in the front row before comparing:
front = holes["row"] == 0
holes.loc[front, "burden_m"] = holes.loc[front, "crest_distance_m"]
Limits. Vertical holes, one free face (the crest) and one explosive per hole (a full column, no decks). The
edge-hole rule and the row rules (rows parallel to the crest line, empty rows skipped) are design decisions without a
published source. No partial row is added at the back: the outline is the limit of the rock to blast, and a rear gap over B only gives a warning. Coordinates are in
metres: a pattern over 1,000,000 holes or rows is refused (usually an outline drawn in mm), and
io.read_dxf_outline warns when the DXF header ($INSUNITS) gives other units.
Conventions
- Units. Inside the library everything is SI: m, kg, mm/s, Hz.
read_events(units="imperial")(or a dict per quantity) converts at input;blastingpy.unitshasto_siandfrom_si. - Upper bound of the site law.
k_upper = k * 10^(z * sigma)withz = 2by default, as in USBM RI 8507 and OSMRE BIVDEP practice. For a one-sided 95 % bound useattenuation.fit(events, z=attenuation.normal_quantile(0.95))(z = 1.645).max_chargeandpredict_ppvuse the upper bound by default; passattenuation.Level.Medianfor the median. - Warnings. Ground-vibration fits with fewer than 30 events (the airblast fit does not warn about it),
beta <= 0and predictions outside the fitted range of distance or charge come with warnings (law.warnings,result.warnings). A law withbeta <= 0is refused for predictions. A law withsigma == 0orz == 0(for examplemake_site_lawwithoutsigma) has an upper bound equal to the median: its predictions at the upper bound warn that the result has no safety margin. - One quantity per law. A law predicts the PPV quantity it was fitted on (
ppv_kind), so compare it only with limits of that quantity;attenuation.fitrefuses events that mix kinds.
Site laws
law |
Form (SI) | Source | Mark |
|---|---|---|---|
"sqrt" |
PPV = K (D / W^0.5)^-beta | USBM Bulletin 656, eq. 4.20 and 6.1 | V1 |
"cbrt" |
PPV = K (D / W^(1/3))^-beta | USBM Bulletin 656, eq. 4.13 with alpha = 1/3 (reported there as other authors' proposal) | V2 |
"general" |
PPV = K W^a D^-beta | USBM Bulletin 656, eq. 4.10-4.13 | V1 |
Profiles
criteria.list_profiles() returns the ids. Marks: V1 values read in the primary source; V2 values read in a
reliable secondary source, not in the standard.
| Profile | Criterion ids | Quantity | Mark |
|---|---|---|---|
USBM-RI8507-1980 |
appendix-b-drywall, appendix-b-plaster, table-13-drywall, table-13-plaster |
component maximum, frequency curve | V1 |
OSMRE-30CFR816.67 |
distance-table |
component maximum, distance table (scaled distance) | V1 |
PE-MEM-1995 |
distance-table |
component maximum, distance table (guide of Peru's MEM) | V1 |
BS-7385-2-1993 |
line-1, line-2 |
component maximum, frequency curve | V2 |
DIN-4150-3-2016 |
line-2, line-3 (foundation only) |
component maximum, frequency curve | V2 |
A profile never replaces the standard. It is a transcription of limit values with their citation. The two V2 profiles (BS 7385-2 and DIN 4150-3) were transcribed from secondary sources and must be checked against the purchased standard before anyone relies on them. DIN 4150-3 values were read from a figure at labelled grid lines.
To see a profile's reservations, which the verdict table shows only as a mark:
c = criteria.load_profile("DIN-4150-3-2016").criteria["line-2"]
print(c.verification, c.reference, c.note["en"], sep="\n")
What the verdict means
criteria.evaluate(events, profile, criterion) returns one row per event with status, limit_mm_s, margin_mm_s,
margin_pct, governing, verification and reason. The four statuses:
complies: every candidate value was evaluated and is at or below its limit.exceeds: at least one evaluated value is above its limit (thereasonlists what could not be evaluated).not_comparable: the quantity the profile asks for is missing or incomplete, a value is bad data, or the frequency (or distance) the criterion needs is missing.indeterminate: a frequency or distance falls outside the criterion's domain.
"Complies" requires the quantity the profile asks for to be fully known. For component-maximum profiles that means the
three components (ppv_t_mm_s, ppv_v_mm_s, ppv_l_mm_s) or a peak declared with ppv_kind="component_max". A
vector_sum PPV is never compared with a component limit. Accepted limitation: a component_max peak with its
frequency is taken as the event's maximum component; smaller components at lower frequencies that the event does not
carry are not checked.
reason is empty for complies, except when a frequency-curve verdict rests on that peak without the three
components: then it says peak-only check: components at other frequencies are not verified. The verdict frame
carries what it was checked against in verdict.attrs (profile_id, criterion, citation, edition, quantity,
frequency_methods, verification, reference), and criteria.candidates(events, profile, criterion) lists, per
event, the values the verdict compared with the limit (the compliance chart draws exactly those).
Your own profile
A user-defined profile is the way to apply a limit you have from a standard that is not included, or a limit set by a
permit or a contract. Pass it as a dict (or the path to a JSON file); its criteria get the mark "user":
mine = {"profile_id": "MY-LIMIT", "quantity": "component_max", "units": {"velocity": "mm/s"},
"criteria": [{"id": "flat-10", "kind": "flat", "limit": 10.0, "reference": "Contract clause 4"}]}
criteria.evaluate(events, mine, "flat-10")
A profile's quantity must be one the events carry; otherwise every verdict is not_comparable and reason says what
is missing. Criterion kinds: flat (shown above), frequency_curve and distance_table; the shipped JSON files in
python/blastingpy/profiles/ illustrate the last two. Every limit, frequency and distance in a profile must be a
finite number > 0 (f_min may be 0); anything else is refused when the profile is loaded.
Not included yet
The five blocks planned for version 0.1 are in; what follows is not part of it. Each block lists what it leaves out, and why, at the end of its section (Airblast, Flyrock, Near field). In ground vibration: the laws Langefors-Kihlstrom, Ghosh-Daemen and CMRI, and the standards UNE 22381, AS 2187.2, BS 6472-2, SS 4604866, SN 640312a and NBR 9653 are not included because no source with their formulas or values has been read. DIN 4150-3 line 1 and the upper-floor criteria, the OSMRE Figure 1 curve and BS 7385-2 line 1 below 4 Hz are also out. Three seismograph formats (THOR, Blastware with header, histogram) are not validated against a real file. Details in the status page.
How to cite
If BlastingPy helps your work, please cite it (the metadata is in CITATION.cff, in the
source distribution):
Quintanilla Ventura, M. (2026). BlastingPy: blast vibration, airblast, flyrock and near-field analysis for mining (version 0.2.0) [Computer software]. https://miqueas.dev/blastingpy
Each result also records the method and source it follows (MethodInfo); cite that original source as well.
License
MIT (the LICENSE file travels in the package).
BlastingPy
Librería abierta de Python, con núcleo en C++20, para analizar los efectos de la voladura en minería: vibración del terreno, sobrepresión de aire, proyección de rocas y vibración en campo cercano.
El caso de uso central: al terminar una campaña de monitoreo, el ingeniero de voladura tiene una tabla de eventos (distancia, carga máxima por retardo, PPV, frecuencia). BlastingPy ajusta la ley de atenuación del sitio, calcula la carga máxima por retardo y verifica el resultado contra un criterio normativo, indicando la edición, la tabla, la magnitud y el método de frecuencia que usó.
Documentación: https://miqueas.dev/blastingpy (guía, métodos, casos resueltos y referencia de la API, en español e inglés).
Estado: versión 0.2.0. Sus seis bloques: tabla de eventos, ley de atenuación, carga máxima y veredicto de cumplimiento; lectura de registros del sismógrafo (forma de onda, PPV, suma vectorial, frecuencia); sobrepresión de aire; proyección de rocas (modelos publicados de alcance, comparación por pozo y distancia de despeje); vibración en campo cercano (Holmberg-Persson, Heelan, simulación de la voladura completa y su Monte Carlo); y la malla de banco (burden por varios métodos, reparto de taladros, secuencia de encendido, carga por taladro y DXF).
Instalación
python -m pip install "blastingpy[io,viz,dxf]"
Hay ruedas para Python 3.10 a 3.14 en Linux, Windows y macOS. Extras: io (leer y escribir .xlsx), viz (gráficos), dxf (leer y escribir .dxf),
seismic (lectores de ObsPy). Para compilar desde la distribución de código fuente de PyPI (hacen falta un compilador de C++ y CMake):
python -m pip install --no-binary blastingpy "blastingpy[io,viz,dxf]"
Ejemplo
import blastingpy as bp
from blastingpy import attenuation, criteria, plotting
events = bp.read_events("campana.csv", units="metric", ppv_kind="component_max",
columns={"distance_m": "Distancia", "charge_kg": "Carga", "ppv_mm_s": "PPV",
"frequency_hz": "Frec"})
law = attenuation.fit(events, law="sqrt") # PPV = K (D / sqrt(W))^-beta
result = attenuation.max_charge(law, 300.0, 12.7) # kg por retardo a 300 m, PPV <= 12,7 mm/s
print(result.value, result.warnings)
verdict = criteria.evaluate(events, "USBM-RI8507-1980", "appendix-b-drywall")
print(verdict["status"].value_counts())
plotting.plot_site_law(law, events)
plotting.plot_compliance(events, "USBM-RI8507-1980", "appendix-b-drywall")
write_events_template("events.csv") escribe la tabla en blanco. Hay una versión completa y ejecutable con datos
sintéticos en el caso resuelto 01 (su README está en inglés).
Desde un registro del sismógrafo
blastingpy.io lee la forma de onda que exporta un sismógrafo; blastingpy.waveform la convierte en picos, suma
vectorial y frecuencia, y en una fila de la tabla de eventos de las secciones anteriores. Los datos y su evidencia están
en la página del método de forma de onda.
from blastingpy import attenuation, criteria, io, waveform
records = [io.read_instantel_ascii(p, sample_rate_hz=1024, pretrigger_s=0.25) for p in paths]
events = waveform.events_from_records(records, distance_m=[100, 150, 200], charge_kg=[20, 50, 30])
law = attenuation.fit(events, law="sqrt")
verdict = criteria.evaluate(events, "USBM-RI8507-1980", "appendix-b-drywall")
Una versión completa y ejecutable con datos sintéticos está en el caso resuelto 02.
| Lector | format_evidence |
Notas |
|---|---|---|
read_instantel_ascii, mínimo (Tran Vert Long MicL y filas) |
real-file |
Sin metadatos: pasa sample_rate_hz (y pretrigger_s). |
read_instantel_ascii, THOR |
third-party-parser |
No validado contra un archivo real: construido desde la descripción de un lector de terceros. |
read_instantel_ascii, Blastware con encabezado (tabla o bloques) |
manual-only |
No validado contra un archivo real: construido desde el manual; el registro lleva un aviso. Solo los separadores por omisión: encabezado entre comillas dobles y valores de los bloques separados por comas. Las unidades del encabezado son una pista: manda units=, con un aviso. |
read_instantel_histogram |
manual-only |
No validado contra un archivo real: construido desde el manual; devuelve un DataFrame con un aviso en attrs. |
read_waveform_csv |
user |
Cualquier marca o canales renombrados (columns=, units=, sep="\t"); acepta notación científica. |
read_obspy (extra seismic) |
user |
miniSEED, SAC y otros formatos que lee ObsPy. |
Un export real de cada formato no validado lo resolvería. Mientras tanto, contrasta el primer registro que leas con lo que muestra el software de tu sismógrafo.
- La frecuencia de muestreo nunca se adivina. Si el archivo no la trae y no pasas
sample_rate_hz, el lector da error.read_waveform_csvcon columna de tiempo ajusta la frecuencia por mínimos cuadrados y rechaza una columna no uniforme; una frecuencia ajustada a menos de 1e-6 de un entero, y un predisparo a menos de 1e-3 de un periodo de muestreo de una muestra entera, se toman como esos valores (tiempos redondeados al microsegundo dan 1024,0000003 Hz). SAC guarda el paso de muestreo redondeado, así que un SAC de 1024 Hz se lee como 1023,54 Hz:read_obspyse queda con la frecuencia del archivo, agrega un aviso que nombra el entero y aceptasample_rate_hz=(debe coincidir con el archivo dentro del 0,1 %). - Unidades. Por dentro todo es SI (mm/s, Pa, s). Las unidades se infieren de la resolución solo para los escalones
del Micromate y el Minimate Pro (0,00788 mm/s, 0,0156 Pa), con un aviso; en otro caso pasa
units=. - Canales renombrados: los lectores de Instantel no los reconocen; usa
read_waveform_csv(..., columns=..., units=..., sep="\t")(ahíunits=es obligatorio). - Frecuencia por cruce por cero.
analyze(zc_method="interpolated")(por omisión) interpola los cruces;"instantel"cuenta muestras enteras y marca una frecuencia sobre 100 fs / 1024 Hz. La frecuencia es NaN cuando el borde del registro corta el medio ciclo del pico o, con"instantel", sobre ese tope. El veredicto es entoncesnot_comparablecontra una curva que depende de la frecuencia, nunca una suposición. - Suma vectorial.
pvs_mm_ses la suma vectorial real (máximo de la suma de cuadrados muestra a muestra); la seudo suma vectorial es la raíz de la suma de los cuadrados de los tres picos de componente, una cota superior de la real. - FFT.
fft_frequencytoma la frecuencia dominante de todo el registro y lista los picos a 6 dB del mayor. Cuando el pico dominante cae en los dos bins más bajos (f <= 2 / T, T la duración del registro), como con varios pozos que interfieren, el espectro lo domina la envolvente del registro o una tendencia, no una oscilación:fft_frequencyavisa (UserWarning) yanalyzelo agrega a sus avisos. Usa entonces la frecuencia por cruces por cero. - Aceleración y desplazamiento. Dependen de la precisión del archivo exportado: con tres cifras significativas o menos el resumen avisa. El desplazamiento integra cada medio ciclo como la suma de V por el paso de tiempo y divide entre dos el mayor, como describe el manual de Instantel.
Airblast
blastingpy.airblast ajusta la ley del sitio a la sobrepresión pico, la compara con los límites de airblast y trae las
ecuaciones publicadas. Los hechos, las páginas y las marcas están en
la página del método de airblast.
from blastingpy import airblast, waveform
events = waveform.events_from_records(records, distance_m=[150, 200, 250], charge_kg=[40, 80, 60])
law = airblast.fit(events) # ley de raíz cúbica sobre airblast_pa
limit = airblast.limit_db("OSMRE-30CFR816.67", system="2Hz")
charge = airblast.max_charge(law, 400.0, limit.pressure_pa)
verdict = airblast.evaluate(events, "OSMRE-30CFR816.67", system="2Hz")
Una versión completa y ejecutable con datos sintéticos está en el caso resuelto 03.
- Unidades. Por dentro todo es Pa.
airblast.to_db/from_dbconvierten con P0 = 20 µPa;read_events(..., units={"pressure": "Pa" | "kPa" | "psi" | "dB"})yunits.to_siaceptan Pa, kPa y psi. Los eventos traenairblast_payairblast_freq_hz;waveform.events_from_recordslos llena desde el micrófono. - Ley del sitio.
airblast.fites la regresión de la ley de vibraciones con la forma de raíz cúbica, P = K (D / W^(1/3))^-beta, sobreairblast_pa: la misma estadística, con cota superior K 10^(z sigma) (la Tabla B-1 de RI 8485 ajusta el airblast así).predict,max_chargeydistance_forfuncionan como enattenuation.outliersyresidualsse refieren a las filas usadas en el ajuste. - Una campaña solo de airblast se pasa como un DataFrame con
distance_m,charge_kgyairblast_pa. - El sistema de medición es obligatorio. La librería se niega a comparar con un límite sin él.
- Veredictos como en
criteria.evaluate:airblast.evaluatedanot_comparablea un evento sin valor de airblast (airblast_pavacío o NaN) eindeterminatea un valor fuera del dominio (<= 0 o infinito). - Un nivel ponderado C lento no es un pico lineal: con
system="c-slow"todo veredicto esnot_comparable, y también una ecuación publicada C-lento frente a cualquier límite. Una ecuación publicada es una mediana:predict_publishedyevaluate_predictionavisan siempre que cerca de la mitad de las voladuras la superan.
| Sistema | USBM RI 8485 (1980) | OSMRE 30 CFR 816.67 |
|---|---|---|
0.1Hz (corte inferior de 0,1 Hz o menos) |
134 dB | 134 dB, solo si la autoridad reguladora lo aprueba |
2Hz |
133 dB | 133 dB |
6Hz (un sistema de 5 Hz usa esta fila) |
129 dB | 129 dB |
c-slow (ponderado C, lento) |
105 dB, eventos de hasta 2 s | 105 dB, solo si la autoridad reguladora lo aprueba |
airblast.system_from_cutoff(low_cutoff_hz) da el sistema de un micrófono lineal. El límite depende del corte
inferior porque un nivel en dB es el pico de lo que el micrófono deja pasar: cuanto más bajo el corte, más presión de
baja frecuencia cuenta, y por eso cada sistema tiene su propio límite.
Las ecuaciones publicadas (list_equations, published, predict_published) son medianas, sin cota superior, atadas
al sistema con que se ajustaron. Catorce vienen de la Tabla B-1 de RI 8485, dos del BLEP de OSMRE y una de AS 2187.2.
| Id de la ecuación | Sistema | Marca |
|---|---|---|
USBM-RI8485/coal-highwall/{0.1Hz,2Hz,5Hz,c-slow} |
el del nombre | V1 |
USBM-RI8485/coal-parting/{0.1Hz,2Hz,5Hz,c-slow} |
el del nombre | V1 |
USBM-RI8485/metal-mine-highwall/0.1Hz |
0,1 Hz | V1 |
USBM-RI8485/quarry/0.1Hz, USBM-RI8485/quarry-direction-of-initiation/0.1Hz, USBM-RI8485/quarry-behind-face/0.1Hz, USBM-RI8485/quarry-opposite-initiation/0.1Hz, USBM-RI8485/quarry-front-of-face/0.1Hz |
0,1 Hz | V1 |
OSMRE-BLEP/highwall, OSMRE-BLEP/parting |
no se dice | V1 |
AS2187.2-2006/free-face |
no se dice | V2 |
Las dos ecuaciones del BLEP salen de ajustes de 0,1 Hz (lo dice RI 8485; el BLEP mismo no dice el sistema), pero el BLEP las compara con el límite de 2 Hz;
evaluate_prediction avisa cuando el sistema de la ecuación difiere del del límite. AS 2187.2 es [V2], de una sola
fuente secundaria.
No entran: la corrección por viento, los límites de confort australianos y AS 2187.2 desde la norma misma.
Flyrock
blastingpy.flyrock trae los modelos publicados de proyección de rocas, una tabla comparativa por pozo y la distancia de
despeje. Los hechos, las páginas y las marcas están en
la página del método de flyrock.
import pandas as pd
from blastingpy import flyrock
holes = pd.DataFrame({"diameter_mm": [165.0, 165.0], "burden_m": [4.0, 3.2], "stemming_m": [3.0, 2.5],
"linear_charge_kg_m": [18.2, 18.2], "hole_angle_from_vertical_deg": [10.0, 10.0]})
table = flyrock.compare(holes, k=27.0) # alcances en m, una fila por pozo
worst = table["max_model_m"].max() # el peor pozo, mayor alcance propio del pozo
clear = flyrock.clearance(worst, target="people", regulation="PE-DS024-2016-EM")
print(clear.distance_m, clear.governs)
Una versión completa y ejecutable, con una tabla de pozos sintética, está en el caso resuelto 04.
- Ningún modelo trae margen de seguridad;
clearancelo agrega: factor 2 para equipos y 4 para personas (Richards y Moore), o un factor propio >= 1. - Mínimo peruano: DS 024-2016-EM art. 267 a), modificado por el DS 034-2023-EM: radio de 500 m cuando la roca puede proyectarse 360°, y en voladuras de banco al menos 500 m en la dirección en que la voladura lanza. Rige para la evacuación de los trabajadores (personas, no equipos); el resultado dice cuál manda, el modelo o el reglamento (
governs). Reportar el mayor entre el alcance con factor y 500 m es una decisión de diseño, no el texto del reglamento. kes obligatorio (constante del sitio de Richards y Moore): 13,5 para roca competente blanda, 27 para roca competente dura; el rango de los datos publicados es 15 a 37. Unkfuera de [13,5, 37] da un aviso (el alcance va con k²).- Tabla de pozos: columnas obligatorias
diameter_mm,burden_m,stemming_m,linear_charge_kg_m(oexplosive_density_kg_m3, 300-2000 kg/m³, para calcularla con el pozo lleno); opcionalescharge_length_m,hole_angle_from_vertical_deg,powder_factor_kg_m3(alcance de Lundborg por factor de carga) ysdob_m_kg13(McKenzie, en m/kg^(1/3)). Un NaN en una columna opcional quiere decir «no se dio para esa fila». max_model_mes el mayor alcance entre los modelos propios de cada pozo (rm_face_burst_m,rm_cratering_m,rm_stemming_ejection_m,lundborg_q_m,mckenzie_2018_m);compareavisa de los pozos donde pasa del doble derm_max_m.lundborg_max_mqueda aparte: depende solo del diámetro (el máximo práctico de Lundborg, para el fragmento óptimo), así que es el mismo en todos los pozos de un diámetro y no dice cuál es el peor; es la envolvente superior que da el diámetro, ycompareavisa de los pozos donde pasa del doble demax_model_m. El despeje de la voladura lo manda su peor pozo, y elegir el modelo es decisión del ingeniero:clearancerecibe un solo alcance y lo dice en sus notas.- Avisos donde el resultado puede salir corto: el alcance de Lundborg por factor de carga menor que su máximo (en
compare, menor que la mitad, umbral de diseño; una correlación con factor de carga tiende a subestimar, Roth 1979), un SDoB mayor de 2,4 (¿ft/lb^(1/3) en vez de m/kg^(1/3)?), un taladro vertical, las ecuaciones calibradas de Roth cerca de su c/m mínimo y una carga lineal que implica una densidad menor de 300 kg/m³. Una densidad en g/cc es error. - Columna de carga menor de 1 m:
compareusa la masa real de la carga (kg) en vez de la carga lineal, como prescriben Richards y Moore, y avisa. - El ángulo del taladro se mide desde la vertical. Un taladro vertical da 0 m de eyección de taco, con un aviso (la fuente dice que los verticales necesitan un ajuste).
- Los diámetros van en mm (la fuente de Lundborg usa pulgadas; la librería convierte y rechaza valores que parecen pulgadas o metros).
- Los modelos son estimaciones distintas, no un consenso: nada los promedia ni elige uno.
| Modelo | Qué estima | Entradas | Marca | Fuente leída |
|---|---|---|---|---|
Balística, FLY-BALLISTIC (range_level, max_range_level, range_to_height, max_height, velocity_for_range) |
Alcance y altura sin arrastre | Velocidad, ángulo de lanzamiento | V1 | Roth 1979 ecs. (1)-(3), (5); Richards y Moore ecs. [4]-[5]; Moore y Richards 2005 ecs. [7], [9], [10] |
Richards y Moore, FLY-RM-FACE, FLY-RM-CRATER, FLY-RM-STEMMING (rm_face_burst, rm_cratering, rm_stemming_ejection, rm_min_confinement) |
Alcance máximo por frente, cráter y eyección de taco; burden o taco mínimo | k, carga (kg/m), burden, taco, ángulo |
V1 | Richards y Moore, ISEE, ecs. [6], [7a]-[7c] |
Lundborg, FLY-LUNDBORG-MAX, FLY-LUNDBORG-Q (lundborg_max_range, lundborg_optimal_fragment, lundborg_range) |
Alcance máximo y fragmento óptimo; alcance por factor de carga | Diámetro (mm), factor de carga | V2 | Reexpresado por Richards y Moore, McKenzie 2018 y Szendrei y Tose 2022; originales no leídos |
McKenzie 2018, FLY-MCKENZIE-2018 (mckenzie_max_range) |
Alcance máximo | SDoB (lo das tú), diámetro | V1 | Resumen de McKenzie 2018, lámina 11, solo la versión 2018 |
Roth, FLY-ROTH-GURNEY, FLY-ROTH-CAL (roth_charge_mass_ratio, roth_gurney_velocity, roth_launch_velocity, roth_calibrated_velocity, roth_reference_gurney_velocity) |
Velocidad de lanzamiento desde c/m y la velocidad de Gurney; ecuaciones calibradas | Carga lineal, densidad de la roca, burden, velocidad de detonación | V1 | Roth 1979, USBM OFR 77-81, ecs. (7)-(10), (13), (13a), (14), (17) |
flyrock.info(flyrock.Model.X) da el id, la marca y la cita de cada uno, y compare los lleva en attrs.
Críticas publicadas (attrs["critiques"]): los modelos sin arrastre pueden sobrestimar el alcance en factores de 2 a 8; Lundborg vale para fragmentos esféricos del tamaño óptimo; McKenzie hereda la calibración de Lundborg (Szendrei y Tose 2022, JSAIMM 122(12), pp. 726-731); una correlación con factor de carga tiende a subestimar el alcance (Roth 1979, pp. 10-11, 29-31).
No entra, y por qué: el coeficiente de McKenzie (2009) y la definición de SDoB (ninguna fuente leída la da, así que el SDoB lo pones tú), el tamaño de fragmento y el taco mínimo de McKenzie, las curvas gráficas y la correlación de banco de Roth, escalar las ecuaciones calibradas de Roth a otros explosivos (la fuente no dice la regla y su factor impreso parece invertido), las trayectorias con arrastre, la forma de la zona de despeje y un lector de la tabla de pozos desde archivo (se pasa un DataFrame; pandas ya lee CSV y Excel).
Campo cercano
blastingpy.nearfield estima la vibración cerca de una carga (Holmberg-Persson, Heelan) y simula una voladura completa
superponiendo una onda semilla, con un Monte Carlo sobre los retardos y las amplitudes. Los hechos, las páginas y las
marcas están en la página del método de campo cercano.
import pandas as pd
from blastingpy import attenuation, datasets, nearfield
# Holmberg-Persson alrededor de una carga de 3 m y 1 kg/m. K, alfa y beta los pones tú.
charge = dict(k=700.0, alpha=0.7, beta=1.5, linear_charge_kg_m=1.0, z_start=-1.5, z_end=1.5)
critical = nearfield.ppv_critical(10e6, 5000.0, 50e9) # T Vp / E con el E estático: 1000 mm/s
extent = nearfield.hp_damage_extent(nearfield.HpModel.Niosh, **charge, z=0.0, ppv_limit_mm_s=critical)
# Heelan alrededor de una columna de 6 m cebada en el fondo.
source = nearfield.PressureSource(vn_pressure_pa=5e9, n=6, gamma_per_s=8000.0)
medium = nearfield.Medium(p_velocity_m_s=5000.0, s_velocity_m_s=2900.0, density_kg_m3=2700.0)
column = nearfield.Column(hole_radius_m=0.05, z_bottom=0.0, z_top=6.0, elements=41, primer_element=1,
vod_m_s=4500.0, charge_exponent=1.0)
peak = nearfield.heelan_ppv(source, medium, column, 5.0, 3.0) # en r = 5 m, z = 3 m
print(peak.ppv_mm_s, peak.warnings)
# Una voladura completa: tabla de pozos, semilla (el registro de un disparo de un solo pozo) y ley del sitio.
holes = pd.DataFrame({"x_m": [0.0, 5.0, 10.0], "y_m": 0.0, "charge_kg": 80.0, "firing_time_s": [0.0, 0.017, 0.034]})
seed = (datasets.synthetic_record(pretrigger_s=0.0, mic_pa=None), "vertical") # en lugar de tu registro
blast = dict(law=attenuation.fit(datasets.synthetic_events(), law="sqrt"), wave_velocity_m_s=3000.0)
result = nearfield.simulate_blast(holes, (5.0, 120.0), seed, **blast)
print(result.ppv_mm_s, result.arrivals, result.warnings)
mc = nearfield.monte_carlo_blast(holes, (5.0, 120.0), seed, delay_sigma_s=0.002, amplitude_cv=0.25,
simulations=2000, rng_seed=1, **blast)
print(mc.percentile(95), mc.probability_exceeding(25.0))
Una versión completa y ejecutable con datos sintéticos está en el caso resuelto 05.
| Modelo | Qué estima | Entradas | Marca | Fuente leída |
|---|---|---|---|---|
Holmberg-Persson, forma integral original (hp_point, hp_original, hp_grid("original", ...)) |
PPV estático alrededor de una carga larga, K [q ∫ dz / (r² + z²)^(β/(2α))]^α | K, α, β (los das tú), carga lineal (kg/m), tramo cargado y punto (m) | V1, a través de NIOSH | Iverson, Kerkering y Hustrulid (2008), NIOSH, ecs. 1 y 5. Los artículos de Holmberg y Persson no se leyeron |
Holmberg-Persson, forma cerrada con β = 2α (hp_term) |
La misma integral como arcotangente; hp_original la usa cuando β = 2α |
Carga lineal, tramo cargado, punto | V2 | Onederra y Esen (2004), Fragblast 8(2), ec. 2 |
Forma modificada de NIOSH (hp_mean_distance, hp_niosh, hp_grid("niosh", ...)) |
K (q L)^α / R̄^β, con R̄ la distancia media de la carga al punto | Las mismas de la forma original | V1 | NIOSH (2008), ecs. 8-10 |
PPV crítico (ppv_critical) y extensión del daño (hp_damage_extent) |
T Vp / E, y la distancia radial a la que cualquiera de las dos formas baja a un PPV límite | Resistencia a tracción y módulo de Young estático (Pa), velocidad P (m/s); forma, constantes, carga, altura z, límite (mm/s) | V2; la extensión lleva la marca de la forma que se use | Onederra y Esen (2004), ec. 11, que citan a Persson, Holmberg y Lee (1994, p. 247). Que el módulo sea el estático es inferido |
Elemento de Heelan (heelan_element, con pressure_function, g_function, g_peak, scaled_frequency, heelan_amplitude) |
Onda de velocidad P y SV que radia una carga cilíndrica corta | PressureSource (presión de von Neumann en Pa, n, decaimiento γ en 1/s), Medium (Vp y Vs en m/s, densidad en kg/m³), radio del taladro, media longitud, punto, instantes |
V1 | Heelan (1953), Geophysics 18(3), ecs. 12-13, en la forma de Blair (2007), Geophysics 72(2), ecs. 8 y 13-16 |
Columna de Heelan (Column, column_weights, heelan_column, vector_peak, heelan_ppv) |
Onda y PPV vectorial de una columna que inicia a la velocidad de detonación, lineal (A = 1) o con pesos no lineales (A < 1) | Fuente, medio, Column (radio del taladro, tramo, número impar de elementos, elemento del cebo, velocidad de detonación en m/s, exponente de carga A), punto |
V1 | Blair (2008), IJRMMS 45, ecs. 1-3 y 22. Inferido: el instante de iniciación de cada elemento y el reflejo de los pesos cuando el cebo está sobre la mitad de la columna |
Superposición de la onda semilla (superpose, simulate_blast, delay_sweep) |
Onda de una voladura completa en un monitor: una semilla por pozo, retardada y escalada | Tabla de pozos, monitor, semilla, ley del sitio, velocidad de onda | V1 | Hinzen (1988), IJRMMS 25(6), ecs. 3-7; Blair (1999), Fragblast 3(4), ec. 1a |
Pesos de voladura completa (screening_counts, screening_factor, charge_scaling_weights, damage_weights) |
Peso de cada pozo por apantallamiento, escala de carga o daño | Posiciones, cargas, tiempos de iniciación, espaciamiento medio (m) | V1 | Blair (1999), ecs. 10b-10c; Blair (2008), ecs. 7-12 y 16-21 |
Monte Carlo (monte_carlo_peaks, monte_carlo_blast) |
Distribución del pico con retardos y amplitudes dispersos | Las mismas de la simulación, más delay_sigma_s (s), amplitude_cv, simulations, rng_seed |
V1 para las ecuaciones; la distribución de retardos la pones tú | Blair (1999), ecs. 1b y 7 |
Carga por ventana (max_charge_per_window, max_charge_8ms_kg) |
Mayor carga que inicia dentro de 8 ms | Tiempos de iniciación (s), cargas (kg) | V2 | Duvall et al. (1963), según Blair (1999, p. 337) |
- Unidades. Longitudes, coordenadas y espaciamiento en m; cargas en kg y carga lineal en kg/m; tiempos de iniciación, retardos y su dispersión en segundos, no en milisegundos; velocidades de onda y de detonación en m/s; presiones y módulos en Pa; densidad en kg/m³; frecuencia de muestreo en Hz. Todo PPV y toda onda salen en mm/s (las funciones
hp_*devuelven la unidad que lleve K: mm/s con constantes ajustadas en mm/s, kg y m). - K, α y β de Holmberg-Persson son obligatorios. Ninguna función tiene un valor por omisión para ellos. 700 / 0,7 / 1,5 son los valores que NIOSH reporta para voladuras en superficie ([V2], atribuidos a Lundborg et al. 1978; no se nombra un tipo de roca); se ofrecen como dato en
HOLMBERG_PERSSON_SURFACE, con su cita, y solo se usan si los pasas. Ajusta las constantes de tu sitio. - Holmberg-Persson es estático y su integral tiene un defecto conocido. No depende del tiempo e ignora la velocidad de detonación (Onederra y Esen 2004, p. 62, que resumen a Blair y Minchinton 1996 y 1997). Al pasar de la suma sobre los elementos de carga a la integral, el exponente α sale de dentro de la suma a fuera de la integral, y el exponente no conmuta con la suma (Hustrulid y Lu 2002, según NIOSH, PDF p. 7; Blair 2008, p. 235, señala el mismo defecto). La forma modificada de NIOSH lo resuelve con una distancia media. La forma original diverge sobre el eje cargado (
hp_originalda error ahí yhp_gridda NaN); la modificada es finita en todas partes. - Heelan vale dentro de ciertos límites, y la librería avisa fuera de ellos. Blair (2007, pp. E37-E40): la frecuencia escalada Ω_A = c γ a / Vp debe ser a lo más de alrededor de 0,1 (por encima, Heelan sobrestima la solución exacta a cualquier distancia); el punto está en campo cercano cuando Ω_A r / a < π; y la media longitud de un elemento no debe pasar de unas dos veces el radio.
aes el radio del taladro, la convención de Blair (2007); Heelan (1953, p. 695) lo define como el radio de la cavidad equivalente.heelan_ppvno rechaza nada por eso: cada límite que no se cumple va enwarningscon el número calculado, junto a las advertencias fijas (P y SV se suman linealmente donde se solapan; los pesos no lineales de la columna no tienen validación experimental). - Grilla de tiempo de
heelan_ppv. El PPV es siempre el pico de la onda. Sinsample_rate_hzniduration_sla grilla es automática: un paso de 1 / (40 γ) hasta la última llegada más 40 / γ (o más (n + 4√n + 2) / γ si es mayor). Con tu propia grilla avisa cuando el registro termina antes de la última llegada más (n + 4√n + 2) / γ, lo que dura el pulso (el pico puede salir truncado) y cuando el paso es mayor de 1 / (10 γ) (el pulso queda mal resuelto; la frecuencia de muestreo de un sismógrafo suele ser demasiado baja para esto). - Simulación de la voladura completa. La amplitud de cada pozo es la predicción mediana de la ley del sitio (no su cota superior) para su carga y su distancia al monitor, por un peso; cada pozo llega en su tiempo de iniciación más distancia / velocidad de onda; el resultado es una sola componente, la de la semilla. La semilla se normaliza a pico unitario y se usa desde su primera muestra: recorta el predisparo. Revisa
arrivalsantes de confiar en el pico. Una llegada entre dos muestras se reparte linealmente entre ellas, lo que baja su pico hasta en sin²(π f / fs) para una semilla de frecuencia dominante f (9,5 % con f = fs / 10): muestrea la semilla a diez veces su frecuencia dominante o más. - Tres ponderaciones, cada una con la advertencia de su autor (viajan en
warnings)."linear"(Hinzen 1988; Blair 1999), con el apantallamiento opcional de Blair (1999), cuyo g se ajustó a un solo conjunto de datos de campo y cuyo piso de 0,2 pone el autor por falta de datos de campo cercano."charge-scaling"(Blair 2008, ec. 12): su autor reporta una caída casi lineal e irreal de la amplitud con el tiempo y no la recomienda frente al modelo de daño."damage"(Blair 2008, ec. 21): η = 0,2 es la primera estimación del autor y 0,3 ajustó su único caso de campo. Los modelos de Blair (2008) no tienen caras libres y no cambian la forma de la onda.charge_exponenttoma por omisión el de la ley (β/2 con ley de raíz cuadrada, β/3 con raíz cúbica, el exponente ajustado con la ley general);SiteLaw.charge_exponentno es ese número en las leyes de distancia escalada. - Los tiempos de iniciación se comparan con una tolerancia de 1 ns. Los pozos a menos de 1 ns entre sí son simultáneos: no cuentan como ya iniciados uno para el otro, y dos pozos nominalmente a 8 ms nunca comparten ventana por redondeo.
- La ventana de 8 ms.
max_charge_8ms_kges la mayor carga que inicia dentro de 8 ms cualesquiera, por tiempos de iniciación. La ventana viene de Duvall et al. (1963), según Blair (1999, p. 337), quien agrega que no hay nada especial en 8 ms: que dos pozos se separen depende de la semilla. - Qué aleatoriza el Monte Carlo. La llegada de cada pozo, con una dispersión normal de desviación estándar
delay_sigma_sque das tú (decisión de diseño: Blair 1999 no publica ni el tipo ni la desviación de la distribución de retardos), y su amplitud, multiplicada por (1 + c z) con z normal estándar y c =amplitude_cv(Blair 1999, ec. 7). No aleatoriza la forma de la semilla (la semilla fluctuante de Blair), así que la variabilidad de la onda queda subrepresentada, y los pesos salen de los tiempos de iniciación nominales. La mismarng_seedda los mismos picos (entre plataformas, a cerca de 1e-9 relativo). El valor por omisiónamplitude_cv = 0ignora la dispersión de la ley del sitio: si la ley tiene σ > 0, un aviso da el coeficiente de variación de una lognormal con ese σ, √(exp((σ ln 10)²) − 1), para que lo pases. - Avisos de plausibilidad. Tiempos de iniciación que abarcan más de 20 s o con más de 1 s entre pozos consecutivos, y un retardo mayor de 1 s en
delay_sweep, parecen milisegundos y se señalan; también unawave_velocity_m_smenor de 100 (parece estar en km/s). Undelay_sigma_smayor de 1 s es error, igual que una onda de más de 2 000 000 de muestras. También se señalan una semilla tomada del canal del micrófono, una semilla cuya frecuencia dominante pasa de la décima parte de su frecuencia de muestreo y un argumento que la ponderación elegida no usa. - Avisos de lo que un PPV más bajo escondería.
simulate_blastymonte_carlo_blastdicen siempre que las amplitudes son la mediana de la ley del sitio (cerca de la mitad de los pozos la superan). Conweighting="damage"se listan los pozos con un factor de apantallamiento S_n menor de 0,2 o a menos de 99 m del monitor: S_n (Blair 2008, ec. 20) no tiene piso y g se ajustó con monitores a 99 m o más (Blair 1999, Fig. 7b), así que sus pesos extrapolan la fuente. Estos avisos (unidades, la mediana,amplitude_cv, el campo cercano del modelo de daño y la semilla submuestreada) van enwarningsy además se emiten comoUserWarning, para que se vean aunque nunca leaswarnings. - Sin validación contra datos de campo. Las funciones reproducen las ecuaciones y los ejemplos numéricos de sus fuentes; ninguna simulación de aquí se ha comparado con una voladura medida.
No entra, y qué artículo lo destrabaría: el modelo de Heelan escalado y su constante γ_n (Blair y Minchinton 2006, Fragblast-8, pp. 152-159; la columna de aquí es el elemento de Heelan estándar con los pesos de Blair 2008); la solución exacta de la carga corta (Blair 2007 y Meredith 1990; leída, fuera del alcance); la semilla fluctuante del Monte Carlo (su normalización se deriva en Blair 1993a, Int. J. Numer. Anal. Methods Geomech. 17: 95-118); la composición de las componentes longitudinal, transversal y vertical (Blair 1999, ecs. 15a-15c: la convención de signos depende de una figura); la carga estadística y su espectro (Blair 1999, ecs. 17-23: leídas, sin implementar; la ec. 23 impresa trae un factor que su propio límite no da); la partición de energía de Heelan y su razón SV/P de 1,6 (las fórmulas impresas son inconsistentes); el PPV al final de la zona triturada (Onederra y Esen 2004, ec. 5, con Liu y Katsabanis 1993 y Esen et al. 2003: un exponente no se pudo verificar y pide presiones de detonación no ideal); y los artículos de Holmberg y Persson (1979) y Persson, Holmberg y Lee (1994, p. 247), con los que la integral, las constantes de superficie y el PPV crítico pasarían a [V1]. Su límite de daño de 700-1000 mm/s es de rocas ígneas suecas, según NIOSH, y no se ofrece como criterio general.
Malla de banco
blastingpy.pattern calcula el burden con cuatro métodos lado a lado (Konya [V1, FHWA], López Jimeno y Ash [V2];
Langefors-Kihlström figura pero no está implementado, porque las dos fuentes secundarias que dan su ecuación no
coinciden, a la espera del libro de 1978), reparte los taladros dentro del contorno de la voladura, asigna los tiempos
(secuencia por fila o en V), calcula la carga por taladro y escribe un DXF (contorno, cresta en su propia capa CRESTA,
taladros por fila o por retardo, rótulos y amarre). El DXF necesita el extra opcional dxf. Los hechos y las marcas
están en el sitio de documentación.
import numpy as np
from blastingpy import pattern
methods = pattern.burden_methods(diameter_mm=165.0, bench_height_m=10.0, rock_density_kg_m3=2700.0,
explosive_density_kg_m3=850.0, initiation="delayed", ucs_mpa=90.0,
explosive_class="low_density") # one row per method
outline = np.array([[0.0, 0.0], [48.0, 0.0], [48.0, 26.0], [0.0, 26.0]])
crest = np.array([[0.0, 0.0], [48.0, 0.0]])
konya = methods.loc["konya"]
holes = pattern.layout(outline, crest, burden_m=4.2, spacing_m=4.9, arrangement="rectangular")
holes = pattern.sequence(holes, scheme="v", hole_delay_ms=17.0, row_delay_ms=42.0)
holes = pattern.charge(holes, bench_height_m=10.0, subdrill_m=konya.subdrill_m, stemming_m=konya.stemming_m,
diameter_mm=165.0, explosive_density_kg_m3=850.0)
pattern.to_dxf(holes, "malla.dxf", outline=outline, crest=crest, diameter_mm=165.0) # needs blastingpy[dxf]
Una versión completa y ejecutable, con un contorno inventado y el PPV simulado al final, está en
examples/06-bench-pattern/ de la distribución de código fuente.
Primera fila y proyección de rocas. layout pone el burden de diseño en burden_m en todos los taladros y agrega
crest_distance_m: la distancia de cada taladro de la primera fila a la cresta real, NaN en las demás filas. Esa
distancia es el burden real de la primera fila. flyrock.compare lee burden_m, y el alcance por la cara crece como
B^-2,6 (Richards y Moore): un burden de frente 20 % menor da cerca de 1,8 veces el alcance. Antes de comparar, pon el
burden real en la primera fila:
front = holes["row"] == 0
holes.loc[front, "burden_m"] = holes.loc[front, "crest_distance_m"]
Límites. Taladros verticales, una sola cara libre (la cresta) y un solo explosivo por taladro (columna completa,
sin cubiertas). La regla de los taladros de borde y las reglas de las filas (paralelas a la recta de la cresta, las
filas vacías se saltan) son decisiones de diseño sin fuente publicada. No se agrega una fila parcial al fondo: un
el contorno es el límite del material a volar, y un hueco trasero mayor que B solo da un aviso. Las coordenadas van en metros: una malla de más de 1 000 000 de taladros
o de filas se rechaza (casi siempre un contorno dibujado en mm), y io.read_dxf_outline avisa cuando la cabecera del
DXF ($INSUNITS) indica otras unidades.
Convenciones
- Unidades. Dentro de la librería todo es SI: m, kg, mm/s, Hz.
read_events(units="imperial")(o un diccionario por magnitud) convierte al leer;blastingpy.unitstieneto_siyfrom_si. - Cota superior de la ley del sitio.
k_upper = k * 10^(z * sigma)conz = 2por omisión, como en USBM RI 8507 y en la práctica de BIVDEP de OSMRE. Para la cota unilateral del 95 % usaattenuation.fit(events, z=attenuation.normal_quantile(0.95))(z = 1,645).max_chargeypredict_ppvusan la cota superior por omisión; pasaattenuation.Level.Medianpara la mediana. - Avisos. Un ajuste de vibración con menos de 30 eventos (el de sobrepresión no avisa por eso), con
beta <= 0, o una predicción fuera del rango de distancia o de carga del ajuste traen avisos (law.warnings,result.warnings). Una ley conbeta <= 0no se usa para predecir. Una ley consigma == 0oz == 0(por ejemplo,make_site_lawsinsigma) tiene la cota superior igual a la mediana: sus predicciones con la cota avisan que el resultado no tiene margen de seguridad. - Una magnitud por ley. Una ley predice la magnitud de PPV con la que se ajustó (
ppv_kind), así que solo se compara con límites de esa magnitud;attenuation.fitrechaza eventos que mezclan clases.
Leyes del sitio
law |
Forma (SI) | Fuente | Marca |
|---|---|---|---|
"sqrt" |
PPV = K (D / W^0,5)^-beta | USBM Bulletin 656, ec. 4.20 y 6.1 | V1 |
"cbrt" |
PPV = K (D / W^(1/3))^-beta | USBM Bulletin 656, ec. 4.13 con alfa = 1/3 (allí figura como propuesta de otros autores) | V2 |
"general" |
PPV = K W^a D^-beta | USBM Bulletin 656, ecs. 4.10 a 4.13 | V1 |
Perfiles
criteria.list_profiles() devuelve los ids. Marcas: V1 valores leídos en la fuente primaria; V2 valores leídos
en una fuente secundaria confiable, no en la norma.
| Perfil | Ids de criterio | Magnitud | Marca |
|---|---|---|---|
USBM-RI8507-1980 |
appendix-b-drywall, appendix-b-plaster, table-13-drywall, table-13-plaster |
componente máxima, curva de frecuencia | V1 |
OSMRE-30CFR816.67 |
distance-table |
componente máxima, tabla por distancia (distancia escalada) | V1 |
PE-MEM-1995 |
distance-table |
componente máxima, tabla por distancia (guía del MEM del Perú) | V1 |
BS-7385-2-1993 |
line-1, line-2 |
componente máxima, curva de frecuencia | V2 |
DIN-4150-3-2016 |
line-2, line-3 (solo cimentación) |
componente máxima, curva de frecuencia | V2 |
Un perfil nunca reemplaza a la norma. Es una transcripción de valores límite con su cita. Los dos perfiles V2 (BS 7385-2 y DIN 4150-3) se transcribieron de fuentes secundarias y hay que cotejarlos con la norma comprada antes de apoyarse en ellos. Los valores de DIN 4150-3 se leyeron de una figura, en líneas de cuadrícula rotuladas.
Para ver las reservas de un perfil, que la tabla del veredicto solo muestra como marca:
c = criteria.load_profile("DIN-4150-3-2016").criteria["line-2"]
print(c.verification, c.reference, c.note["es"], sep="\n")
Qué significa el veredicto
criteria.evaluate(events, profile, criterion) devuelve una fila por evento con status, limit_mm_s, margin_mm_s,
margin_pct, governing, verification y reason. Los cuatro estados:
complies: todos los valores candidatos se evaluaron y están en el límite o por debajo.exceeds: al menos un valor evaluado supera su límite (elreasonlista lo que no se pudo evaluar).not_comparable: falta la magnitud que pide el perfil o está incompleta, un valor es dato inválido, o falta la frecuencia (o la distancia) que el criterio necesita.indeterminate: una frecuencia o una distancia cae fuera del dominio del criterio.
«Cumple» exige conocer por completo la magnitud que pide el perfil. En los perfiles de componente máxima eso son las
tres componentes (ppv_t_mm_s, ppv_v_mm_s, ppv_l_mm_s) o un pico declarado con ppv_kind="component_max". Un PPV de
vector_sum nunca se compara con un límite de componente. Limitación aceptada: un pico component_max con su
frecuencia se toma como la componente máxima del evento; las componentes menores a frecuencias más bajas que el evento
no trae no se revisan.
reason queda vacío en complies, salvo cuando un veredicto contra una curva de frecuencia se apoya en ese pico sin
las tres componentes: entonces dice peak-only check: components at other frequencies are not verified. La tabla del
veredicto lleva en verdict.attrs contra qué se comparó (profile_id, criterion, citation, edition,
quantity, frequency_methods, verification, reference), y criteria.candidates(events, profile, criterion)
lista, por evento, los valores que el veredicto comparó con el límite (el gráfico de cumplimiento dibuja justo esos).
Tu propio perfil
Un perfil propio sirve para aplicar un límite que tienes de una norma que no está incluida, o uno fijado por un permiso
o un contrato. Se pasa como diccionario (o la ruta a un JSON); sus criterios llevan la marca
"user":
mine = {"profile_id": "MY-LIMIT", "quantity": "component_max", "units": {"velocity": "mm/s"},
"criteria": [{"id": "flat-10", "kind": "flat", "limit": 10.0, "reference": "Contract clause 4"}]}
criteria.evaluate(events, mine, "flat-10")
El quantity del perfil debe ser una magnitud que traigan los eventos; si no, todos los veredictos son not_comparable y
reason dice qué falta. Tipos de criterio: flat (el de arriba), frequency_curve y distance_table; los JSON que
viajan en python/blastingpy/profiles/ ilustran los dos últimos. Todo límite, frecuencia y distancia de un perfil debe
ser un número finito > 0 (f_min puede ser 0); cualquier otra cosa se rechaza al cargar el perfil.
Qué falta todavía
Los cinco bloques previstos para la versión 0.1 ya están; lo que sigue no forma parte de ella. Cada bloque lista lo que deja fuera, y por qué, al final de su sección (Airblast, Flyrock, Campo cercano). En vibración del terreno: las leyes Langefors-Kihlström, Ghosh-Daemen y CMRI, y las normas UNE 22381, AS 2187.2, BS 6472-2, SS 4604866, SN 640312a y NBR 9653 no entran porque no se leyó ninguna fuente con sus fórmulas o valores. Tampoco la línea 1 de DIN 4150-3 ni los criterios del último piso, la curva de la Figura 1 de OSMRE ni la línea 1 de BS 7385-2 bajo 4 Hz. Tres formatos de sismógrafo (THOR, Blastware con encabezado e histograma) no están validados contra un archivo real. Detalle en la página de estado.
Cómo citar
Si BlastingPy te sirve en tu trabajo, cítala (los metadatos están en CITATION.cff, en la
distribución de código fuente):
Quintanilla Ventura, M. (2026). BlastingPy: blast vibration, airblast, flyrock and near-field analysis for mining (versión 0.2.0) [Software]. https://miqueas.dev/blastingpy
Cada resultado registra además el método y la fuente que sigue (MethodInfo); cita también esa fuente original.
Licencia
MIT (el archivo LICENSE viaja en el paquete).
Metadata
Release files for blastingpy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blastingpy-0.2.0.tar.gz | 320.1 kB | With provenance | Details for blastingpy-0.2.0.tar.gz |
Built distributions (wheels)
Total release size: 4.8 MB
Release files / blastingpy-0.2.0.tar.gz
| Download URL | blastingpy-0.2.0.tar.gz |
|---|---|
| Size | 320.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dffe04098902272a2e8d34b94164533cfe1d0da7b574f004a2f91d425ced7eca
|
|
BLAKE2b-256 checksum How to use checksums |
50f1bf079135d240df3e7dad4ea1e1f7d6cf5c53c0d95a1dd62fa05b627b8917
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp314-cp314-win_amd64.whl
| Download URL | blastingpy-0.2.0-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 315.9 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6422adcf2a48a1cbb5e23d96b1a7af2f4832dd027938e85f388b8f4fde41ecce
|
|
BLAKE2b-256 checksum How to use checksums |
8cf1513269b9dce62c19a121561a0d72e637f434ea57aa9520d08559a0944661
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | blastingpy-0.2.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 311.0 kB |
| Tags | CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c3dd7f63a3cdcef1f2de426c3ee0adc35c333c124a3ce2f164e0294ab356c56d
|
|
BLAKE2b-256 checksum How to use checksums |
92160d747644f6be4452bbaf915c754718e6dfd04b5b4693b31798c6a24e361e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | blastingpy-0.2.0-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 272.5 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0ff3078059c77a6ca680fd668fd8f1352c0c842e98f359194f0458f16d179b25
|
|
BLAKE2b-256 checksum How to use checksums |
a5f646ef41e90d3cb7471712c97660a38307a382744ea86348e67e847f910edc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp313-cp313-win_amd64.whl
| Download URL | blastingpy-0.2.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 310.2 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
787ceb794e7729e110e9bcb3a10f3776357d4ac7525a235305e297a0b119e6a1
|
|
BLAKE2b-256 checksum How to use checksums |
433bbe993b5e2672fbc656b24d6699bb936c6c728d936a6dc797564af3230f1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | blastingpy-0.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 311.0 kB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
a824a113e4d702024632bd027236d2552eab116a32d5903ea833353499a4d792
|
|
BLAKE2b-256 checksum How to use checksums |
2190745a7f8f62c15b2b2441d0f94b52d2bdce1c607f3f4107d48b80867b1e44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | blastingpy-0.2.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 272.5 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0f602123a0d2c7ed8de3a0f7a0a72c69424f2c28963e9a055a3c6596517ec43c
|
|
BLAKE2b-256 checksum How to use checksums |
5d5739bdcbc9fc31a3488109b5a8cedd150661a35fae58e06b9cb6f2ebff1448
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp312-cp312-win_amd64.whl
| Download URL | blastingpy-0.2.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 310.2 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
695764b03d492fad2a2624c6bdba381fc377b3e25d7c70a35b0a3a639e91afa9
|
|
BLAKE2b-256 checksum How to use checksums |
fd87fc22c0e9836268bb44a5c0341ce94622f6356a929938e6f55fdd855f0eed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | blastingpy-0.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 310.9 kB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
b40f589b25db1f5ec14c4dee08e2e34dfa1e3c5398555f9dd1637da568c5946f
|
|
BLAKE2b-256 checksum How to use checksums |
9a23ec8df2601380d3f7e02e5df7c2daabd7fa3a3e78b5288663cb8bc18b4c4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | blastingpy-0.2.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 272.5 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fc8f7f96201cc8d7fc797c83240feb93a48e8b5b13f94ad5c99dc7fe7b945270
|
|
BLAKE2b-256 checksum How to use checksums |
794358630172ba369cdf186f26024c16043c7ab5d56e21f8c65a0fe54aae1943
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp311-cp311-win_amd64.whl
| Download URL | blastingpy-0.2.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 311.1 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
41f4a85373cdf773c4ce211d66682259366e50ebf82e8a93fc5d0866c2f95779
|
|
BLAKE2b-256 checksum How to use checksums |
619aed0d5b977cf03a359ef592b7035d9a7a78822bb05d0a2365e24cafb5ae91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | blastingpy-0.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 315.9 kB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
0e4090cf9d9e0868d0f1026f0abbe06c38896ec407e409e1187784ff01fb3719
|
|
BLAKE2b-256 checksum How to use checksums |
4819bc21ecd3abebbc29c73f5d499165f90ae3c26e12993ea2749f196fd9264e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | blastingpy-0.2.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 274.6 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e090df0073ad10aa37f236c6e7dede1e3d37a2a4524226adc8d5f3b036822e3e
|
|
BLAKE2b-256 checksum How to use checksums |
209f0a215eb0a9ff715b7e76856c49bd09413e6f000d33cadf3b2125df12677e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp310-cp310-win_amd64.whl
| Download URL | blastingpy-0.2.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 310.8 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1a7aed8ddbee5af43095232245619f1ce435af992bdc121e9d8e18c19773f22e
|
|
BLAKE2b-256 checksum How to use checksums |
8d1e183ddbf56fa7189259d4fdd21a67933f398af5744c81f1825190faeaf68d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | blastingpy-0.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 315.5 kB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
6d7f7275a3a79bec97844fdd6da95bd15cb291af63ce973c4e4eb4fcbcf01f4f
|
|
BLAKE2b-256 checksum How to use checksums |
618ee444b35252b8a1755237e58fc20e2ba9221c45136f46d1e25bd1678a3d43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / blastingpy-0.2.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | blastingpy-0.2.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 274.0 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
66d0fc936288796900060890f89e54995eb386b3b3cec12013acc5f8722a8ae2
|
|
BLAKE2b-256 checksum How to use checksums |
ed6b7f2fe5324620e51c20c42d2f28f5bb90eb310c34956940f283b3254ebc34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for blastingpy 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 16 files in this release have been uploaded with provenance metadata.
Attestation for blastingpy-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.