Skip to content

Commit 74dc05f

Browse files
rootcoder007claude
andcommitted
Release 1.2.5
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GVZR4QjrTXCv55j4qdo6E2
1 parent b35746b commit 74dc05f

37 files changed

Lines changed: 524 additions & 499 deletions

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors:
88
affiliation: "Centre for Criminology and Sociolegal Studies, University of Toronto"
99
name-particle: "Singh"
1010
# IPA: /ʋənʃ sɪŋ ɾʊˈɦeːlɑː/
11-
version: "1.2.4"
11+
version: "1.2.5"
1212
date-released: "2026-09-08"
1313
url: "https://github.com/rootcoder007/morie"
1414
repository-code: "https://github.com/rootcoder007/morie"

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.4
1+
1.2.5

VERSION_INVENTORY.csv

Lines changed: 468 additions & 443 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
44

55
[project]
66
name = "morie"
7-
version = "1.2.4"
7+
version = "1.2.5"
88
description = "Multi-domain scientific computing toolkit (Python + R) for observational inference and intervention analysis. Provides causal estimators (ATE, ATT, AIPW, DML, G-computation), survey sampling, propensity-score and doubly-robust methods, sensitivity analysis, spatial statistics, Hawkes point processes, and psychometrics, with a unified RichResult output."
99
authors = [
1010
{ name="Vansh Singh Ruhela", email="vsruhela@proton.me" }

r-package/morie/DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: morie
22
Type: Package
33
Title: Multi-Domain Open Research and Inferential Estimation
4-
Version: 1.2.4
4+
Version: 1.2.5
55
Authors@R: c(
66
person(
77
given = "Vansh Singh",
@@ -44,7 +44,7 @@ Imports:
4444
graphics,
4545
Rcpp,
4646
rmoriebricklayer (>= 0.3.8),
47-
rmoriedata (>= 0.3.0)
47+
rmoriedata (>= 1.2.5)
4848
LinkingTo: Rcpp, RcppArmadillo, rmoriebricklayer
4949
SystemRequirements: libcurl: libcurl-devel (rpm) or libcurl4-openssl-dev (deb)
5050
Suggests:

r-package/morie/NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# morie (next release) - in progress
1+
# morie 1.2.5 - 2026-09-18
22

33
Synced from rmorie 1.2.4's fixes of 2026-09-16 and 2026-09-17.
44

r-package/morie/R/aaa_rangayyan_qrs.R

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ EcgEmgCpl <- function(ecg, emg, qrs, fs) {
662662
}
663663

664664

665-
#' Section 1.2.4 waves and intervals. Amplitudes are measured against
665+
#' Section 1.2.5 waves and intervals. Amplitudes are measured against
666666
#' the
667667
#'
668668
#' PQ segment, not against zero: the PQ segment is the isoelectric
@@ -678,7 +678,7 @@ EcgEmgCpl <- function(ecg, emg, qrs, fs) {
678678
#' \code{fs}, \code{method}.
679679
#' @export
680680
EcgFeat <- function(x, qrs, fs) {
681-
# Section 1.2.4 waves and intervals. Amplitudes are measured against the
681+
# Section 1.2.5 waves and intervals. Amplitudes are measured against the
682682
# PQ segment, not against zero: the PQ segment is the isoelectric reference
683683
# the book names, and it absorbs any residual baseline offset.
684684
fs <- .morie_qrs_fs(fs)
@@ -761,7 +761,7 @@ EcgFeat <- function(x, qrs, fs) {
761761
qtdurmean = .morie_qrs_mean(qtdur), rampmean = .morie_qrs_mean(ramp),
762762
nbeats = length(q), fs = fs,
763763
method = paste0("ECG wave amplitudes and durations against the PQ ",
764-
"isoelectric reference, Rangayyan (2024) Section 1.2.4"))
764+
"isoelectric reference, Rangayyan (2024) Section 1.2.5"))
765765
}
766766

767767

@@ -783,7 +783,7 @@ EcgFeat <- function(x, qrs, fs) {
783783
#' @export
784784
EcgWaveShp <- function(qrsdur, stdev, rdur = NULL, sdur = NULL,
785785
qpresent = NULL) {
786-
# Sections 1.2.4 (ST deviation against the PQ reference) and 10.2.1 (the
786+
# Sections 1.2.5 (ST deviation against the PQ reference) and 10.2.1 (the
787787
# incomplete LBBB/RBBB duration rules). Only the duration-based parts of
788788
# the book's rules are computable from one measured QRS duration; the
789789
# lead-specific conditions are RETURNED as still-required checks rather
@@ -812,14 +812,14 @@ EcgWaveShp <- function(qrsdur, stdev, rdur = NULL, sdur = NULL,
812812
qabsent = if (is.null(qpresent)) NULL else !isTRUE(as.logical(qpresent)),
813813
stdev = stdev, stfinding = st, required = req,
814814
method = paste0("ECG waveshape rules for ischemia and bundle-branch ",
815-
"block, Rangayyan (2024) Sections 1.2.4 and 10.2.1"))
815+
"block, Rangayyan (2024) Sections 1.2.5 and 10.2.1"))
816816
}
817817

818818

819819
#' ST level at J + jofs relative to the PQ isoelectric level, and the
820820
#' slope
821821
#'
822-
#' of the segment that follows (Section 1.2.4). The 0.1 mV threshold is
822+
#' of the segment that follows (Section 1.2.5). The 0.1 mV threshold is
823823
#' the conventional clinical figure, NOT a book value -- the payload
824824
#' says so.
825825
#'
@@ -834,7 +834,7 @@ EcgWaveShp <- function(qrsdur, stdev, rdur = NULL, sdur = NULL,
834834
#' @export
835835
ExerEcgSt <- function(x, qrs, fs, jofs = 0.060, thresh = 0.1) {
836836
# ST level at J + jofs relative to the PQ isoelectric level, and the slope
837-
# of the segment that follows (Section 1.2.4). The 0.1 mV threshold is the
837+
# of the segment that follows (Section 1.2.5). The 0.1 mV threshold is the
838838
# conventional clinical figure, NOT a book value -- the payload says so.
839839
fs <- .morie_qrs_fs(fs)
840840
x <- .morie_qrs_check(x, 16L, "ECG")
@@ -877,7 +877,7 @@ ExerEcgSt <- function(x, qrs, fs, jofs = 0.060, thresh = 0.1) {
877877
"verified here"),
878878
jofs = jofs, fs = fs,
879879
method = paste0("ST level and slope against the PQ isoelectric ",
880-
"reference, Rangayyan (2024) Section 1.2.4"))
880+
"reference, Rangayyan (2024) Section 1.2.5"))
881881
}
882882

883883

@@ -1830,7 +1830,7 @@ TWaveDet <- function(chans, qrs, fs, tdur = 0.160) {
18301830
}
18311831

18321832

1833-
#' Sections 1.2.4 and 8.11 describe VF but give NO detector and NO
1833+
#' Sections 1.2.5 and 8.11 describe VF but give NO detector and NO
18341834
#'
18351835
#' threshold, and no external primary source was verified here. The
18361836
#' rule below is therefore stated as what it is: a two-part heuristic
@@ -1849,7 +1849,7 @@ TWaveDet <- function(chans, qrs, fs, tdur = 0.160) {
18491849
#' \code{fs}, \code{method}.
18501850
#' @export
18511851
VfDetect <- function(x, fs, win = 4, conc = 0.60, crest = 4) {
1852-
# Sections 1.2.4 and 8.11 describe VF but give NO detector and NO
1852+
# Sections 1.2.5 and 8.11 describe VF but give NO detector and NO
18531853
# threshold, and no external primary source was verified here. The rule
18541854
# below is therefore stated as what it is: a two-part heuristic from the
18551855
# two properties the book DOES assert -- no discrete QRS complexes (so the
@@ -1903,7 +1903,7 @@ VfDetect <- function(x, fs, win = 4, conc = 0.60, crest = 4) {
19031903
rate = rates, conc = conc, crestmax = crest, nwin = length(flags),
19041904
fraction = sum(flags) / length(flags), win = win, fs = fs,
19051905
method = paste0("VF heuristic from QRS absence and spectral ",
1906-
"concentration; Rangayyan (2024) Sections 1.2.4 and ",
1906+
"concentration; Rangayyan (2024) Sections 1.2.5 and ",
19071907
"8.11 describe VF but give no detector, and no ",
19081908
"external primary source was verified for this rule"))
19091909
}

r-package/morie/R/fpcadj.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#' @references Cochran (1977), Sampling Techniques, 3rd edition, Chapter
1616
#' 2, where V(ybar) = (S^2/n)(N - n)/N for simple random sampling
1717
#' without replacement. Cross-checked against the reference
18-
#' implementation in the CRAN package samplingbook 1.2.4, whose Smean
18+
#' implementation in the CRAN package samplingbook 1.2.5, whose Smean
1919
#' uses the variance (N - n)/N * (1/(n(n-1))) sum (y - ybar)^2.
2020
#' @export
2121
#' @examples

r-package/morie/R/multipsr.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#' 10 (subsampling / two-stage sampling). Chapter 10 was NOT in the
2222
#' scanned excerpt available to this batch, so the estimator and
2323
#' variance are taken from the reference implementation in the CRAN
24-
#' package samplingbook 1.2.4, function submean with method = "ratio".
24+
#' package samplingbook 1.2.5, function submean with method = "ratio".
2525
#' @export
2626
Twostage <- function(Y, Nl, M, N, level = 0.95) {
2727
m <- length(Y)

r-package/morie/R/propalc.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#' 5.3, Corollary 2, "stratification with proportional allocation of
1717
#' the n_h", n_h/n = N_h/N. Chapter 5 read from the scanned original.
1818
#' Cross-checked against the reference implementation in the CRAN
19-
#' package samplingbook 1.2.4, whose stratasamp(type = "prop") sets
19+
#' package samplingbook 1.2.5, whose stratasamp(type = "prop") sets
2020
#' wh <- Nh/N.
2121
#' @export
2222
#' @examples

0 commit comments

Comments
 (0)