{
  "_id": "6a1f1857b401979e7341ecf0",
  "Package": "BBEST",
  "Author": "Anton Gagin and Igor Levin with contributions from Charles R.\nHogg III",
  "Maintainer": "Anton Gagin <av.gagin@gmail.com>",
  "Version": "0.1-8",
  "Type": "Package",
  "Title": "Bayesian Estimation of Incoherent Neutron Scattering Backgrounds",
  "Description": "We implemented a Bayesian-statistics approach for\nsubtraction of incoherent scattering from neutron\ntotal-scattering data. In this approach, the estimated\nbackground signal associated with incoherent scattering\nmaximizes the posterior probability, which combines the\nlikelihood of this signal in reciprocal and real spaces with\nthe prior that favors smooth lines. The description of the\ncorresponding approach could be found at Gagin and Levin (2014)\n<DOI:10.1107/S1600576714023796>.",
  "Date": "2020-11-18",
  "License": "GPL-3",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.1.1",
  "Encoding": "UTF-8",
  "Packaged": {
    "Date": "2026-05-17 05:45:42 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "cmake make libgsl0-dev libicu-dev libuv1-dev\nzlib1g-dev",
  "Repository": "https://antongagin.r-universe.dev",
  "Date/Publication": "2020-11-19 12:20:05 UTC",
  "RemoteUrl": "https://github.com/cran/BBEST",
  "RemoteRef": "HEAD",
  "RemoteSha": "0298a3cac092e39029e4a3d957ef8017376bdad4",
  "MD5sum": "41e14a3076d1b39e4459a8107c4ed4b3",
  "_user": "antongagin",
  "_type": "src",
  "_file": "BBEST_0.1-8.tar.gz",
  "_fileid": "21c442c4c323299056e876592049f75582fcbc4e3ea77b61b77763e3ff31b022",
  "_filesize": 1159098,
  "_sha256": "21c442c4c323299056e876592049f75582fcbc4e3ea77b61b77763e3ff31b022",
  "_created": "2026-05-17T05:45:42.000Z",
  "_published": "2026-06-02T17:52:23.085Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79136453424,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7039739303"
    },
    {
      "job": 79136453598,
      "time": 138,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7039738457"
    },
    {
      "job": 79136453180,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7039738213"
    },
    {
      "job": 79136453308,
      "time": 158,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7039736472"
    },
    {
      "job": 79136452907,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039723041"
    },
    {
      "job": 79136452763,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365646534"
    },
    {
      "job": 79136453184,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7039733635"
    },
    {
      "job": 79136454100,
      "time": 85,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7039732155"
    },
    {
      "job": 79136453819,
      "time": 86,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7039732331"
    }
  ],
  "_buildurl": "https://github.com/r-universe/antongagin/actions/runs/25982650041",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/BBEST",
  "_commit": {
    "id": "0298a3cac092e39029e4a3d957ef8017376bdad4",
    "author": "Anton Gagin <av.gagin@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1-8\n",
    "time": 1605788405
  },
  "_maintainer": {
    "name": "Anton Gagin",
    "email": "av.gagin@gmail.com",
    "login": "antongagin",
    "description": "",
    "uuid": 14840270
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "DEoptim",
      "role": "Imports"
    },
    {
      "package": "aws",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "antongagin",
      "count": 4,
      "uuid": 14840270
    }
  ],
  "_userbio": {
    "uuid": 14840270,
    "type": "user",
    "name": "Anton Gagin"
  },
  "_downloads": {
    "count": 270,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BBEST"
  },
  "_mentions": 2,
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BBEST.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "antongagin",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1-0",
      "date": "2014-08-15"
    },
    {
      "version": "0.1-1",
      "date": "2014-12-05"
    },
    {
      "version": "0.1-2",
      "date": "2015-02-06"
    },
    {
      "version": "0.1-3",
      "date": "2015-03-09"
    },
    {
      "version": "0.1-4",
      "date": "2015-04-06"
    },
    {
      "version": "0.1-5",
      "date": "2015-09-15"
    },
    {
      "version": "0.1-6",
      "date": "2016-03-09"
    },
    {
      "version": "0.1-7",
      "date": "2020-10-26"
    },
    {
      "version": "0.1-8",
      "date": "2020-11-19"
    }
  ],
  "_exports": [
    "basisMatrix",
    "basisSpline",
    "bkg.analyt",
    "calc.Gr",
    "covMatrix.DI",
    "covMatrixSE",
    "DMatrix",
    "do.fit",
    "do.fit.banks",
    "do.iter",
    "Dx",
    "fix.merge",
    "fplot.Gr",
    "get.bkg",
    "get.deriv",
    "get.hess",
    "get.hess.numerically",
    "get.posterior",
    "golden.search",
    "grad.descent",
    "guide",
    "invert.order",
    "logLikelihoodBkg",
    "logLikelihoodBkgAnalyt",
    "logLikelihoodGrCorr",
    "logLikelihoodGrGauss",
    "logLikelihoodSignal",
    "logLikelihoodSignalAnalyt",
    "logPosterior",
    "logPosteriorAnalyt",
    "logPriorBkgRGP",
    "logPriorBkgRSmooth",
    "logPriorF",
    "logProbabilityBkgR",
    "mPlot.results",
    "mPlot.results.banks",
    "mPlot.sqa",
    "noise.cov.matrix.r",
    "noise.cov.r",
    "noise.cov.vector.r",
    "prepare.banks.data",
    "Progress",
    "progressInit",
    "read.data",
    "read.sqa",
    "read.sqb",
    "regularized.cholesky",
    "row.outer.product",
    "runUI",
    "set.control",
    "set.data",
    "set.DEoptim.control",
    "set.Gr",
    "set.lambda",
    "set.SB",
    "set.sigma",
    "setProgress",
    "sineFT",
    "sineFT.matrix",
    "sqa.split",
    "step1",
    "step10",
    "step2",
    "step3",
    "step5",
    "step6",
    "step7",
    "step8",
    "step9",
    "test.signal",
    "trim.data",
    "whatIsSpecified",
    "withProgress",
    "write.fit.results",
    "write.fix"
  ],
  "_help": [
    {
      "page": "BBEST-package",
      "title": "Bayesian Background Estimation.",
      "topics": [
        "BBEST-package",
        "BBEST"
      ]
    },
    {
      "page": "calc.Gr",
      "title": "Calculate and plot the Pair Distribution Function",
      "topics": [
        "calc.Gr"
      ]
    },
    {
      "page": "do.fit",
      "title": "Estimate background",
      "topics": [
        "do.fit"
      ]
    },
    {
      "page": "do.fit.banks",
      "title": "Estimate the background for individual banks",
      "topics": [
        "do.fit.banks"
      ]
    },
    {
      "page": "do.iter",
      "title": "Estimate the background",
      "topics": [
        "do.iter"
      ]
    },
    {
      "page": "merge.fix",
      "title": "Merge .fix files",
      "topics": [
        "fix.merge"
      ]
    },
    {
      "page": "guide",
      "title": "BBEST guide",
      "topics": [
        "guide"
      ]
    },
    {
      "page": "mplot.results",
      "title": "Plot the background estimate",
      "topics": [
        "mPlot.results"
      ]
    },
    {
      "page": "mplot.results.banks",
      "title": "Plot the background estimate for individual banks",
      "topics": [
        "mPlot.results.banks"
      ]
    },
    {
      "page": "mplot.sqa",
      "title": "Plot the total normalized scattering intensity function 'S(Q)' for individual detector banks",
      "topics": [
        "mPlot.sqa"
      ]
    },
    {
      "page": "prepare.banks.data",
      "title": "Prepare data for estimating the background",
      "topics": [
        "prepare.banks.data"
      ]
    },
    {
      "page": "Progress",
      "title": "Reporting progress (object-oriented API)",
      "topics": [
        "Progress",
        "Progress-class"
      ]
    },
    {
      "page": "progressInit",
      "title": "Initialize progress",
      "topics": [
        "progressInit"
      ]
    },
    {
      "page": "read.data",
      "title": "Read data from file",
      "topics": [
        "read.data"
      ]
    },
    {
      "page": "read.sqa",
      "title": "Read data from a '.sqa'-file",
      "topics": [
        "read.sqa"
      ]
    },
    {
      "page": "read.sqb",
      "title": "Read data from a '.sqb'-file",
      "topics": [
        "read.sqb"
      ]
    },
    {
      "page": "runUI",
      "title": "Start the GUI",
      "topics": [
        "runUI"
      ]
    },
    {
      "page": "set.control",
      "title": "Set controls for the Differential Evolution Algorithm",
      "topics": [
        "set.control"
      ]
    },
    {
      "page": "set.data",
      "title": "Set data",
      "topics": [
        "set.data"
      ]
    },
    {
      "page": "set.Gr",
      "title": "Add information on the low-r behaviour of G(r)",
      "topics": [
        "set.Gr"
      ]
    },
    {
      "page": "set.lambda",
      "title": "Set mean signal magnitude",
      "topics": [
        "set.lambda"
      ]
    },
    {
      "page": "set.SB",
      "title": "Set the coherent baseline",
      "topics": [
        "set.SB"
      ]
    },
    {
      "page": "set.sigma",
      "title": "Set the experimental uncertainty",
      "topics": [
        "set.sigma"
      ]
    },
    {
      "page": "split.sqa",
      "title": "Split .sqa file into individual files for each databank",
      "topics": [
        "sqa.split"
      ]
    },
    {
      "page": "test.signal",
      "title": "A random function with a smooth background",
      "topics": [
        "test.signal"
      ]
    },
    {
      "page": "trim.data",
      "title": "Truncate data",
      "topics": [
        "trim.data"
      ]
    },
    {
      "page": "withProgress",
      "title": "Reporting progress (functional API)",
      "topics": [
        "setProgress",
        "withProgress"
      ]
    },
    {
      "page": "write.fit.results",
      "title": "Save results of the fit",
      "topics": [
        "write.fit.results"
      ]
    },
    {
      "page": "write.fix",
      "title": "Save a correction file for individual detector banks",
      "topics": [
        "write.fix"
      ]
    }
  ],
  "_readme": "https://github.com/cran/BBEST/raw/HEAD/README.md",
  "_rundeps": [
    "aws",
    "awsMethods",
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "DEoptim",
    "digest",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "ggplot2",
    "glue",
    "gsl",
    "gtable",
    "htmltools",
    "httpuv",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "plyr",
    "promises",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rlang",
    "S7",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "stringi",
    "stringr",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "bbest",
  "_universes": [
    "antongagin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1-8",
      "date": "2026-05-17T05:48:01.000Z",
      "distro": "noble",
      "commit": "0298a3cac092e39029e4a3d957ef8017376bdad4",
      "fileid": "63d34552ad141ae5350b076755d8d8bbe98ae6079944067017a3dd9fff96ac95",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/25982650041"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1-8",
      "date": "2026-05-17T05:47:54.000Z",
      "distro": "noble",
      "commit": "0298a3cac092e39029e4a3d957ef8017376bdad4",
      "fileid": "d685caa41769b641e911da81aac65f7d63cd914ec624d60dbed569a90d7a29c8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/25982650041"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1-8",
      "date": "2026-05-17T05:48:04.000Z",
      "commit": "0298a3cac092e39029e4a3d957ef8017376bdad4",
      "fileid": "0085de46aeabf828d6f4332d7c569810d31acebdce756df4eac9fd5c0e968681",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/25982650041"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1-8",
      "date": "2026-05-17T05:47:44.000Z",
      "commit": "0298a3cac092e39029e4a3d957ef8017376bdad4",
      "fileid": "e445c0eba547399fcffcffeb424ae2103c1860e66ca8acdff9f712787de09a6b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/25982650041"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1-8",
      "date": "2026-05-17T05:47:07.000Z",
      "commit": "0298a3cac092e39029e4a3d957ef8017376bdad4",
      "fileid": "a5f990c1f714432e2f1a760159b92cdb79f523e01dd099da4fba636c99b87855",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/25982650041"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1-8",
      "date": "2026-05-17T05:46:56.000Z",
      "commit": "0298a3cac092e39029e4a3d957ef8017376bdad4",
      "fileid": "1fc32c9711e1505b806eb9eed6233b1c3382478f6625003fe92954273aa8d976",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/25982650041"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1-8",
      "date": "2026-05-17T05:46:54.000Z",
      "commit": "0298a3cac092e39029e4a3d957ef8017376bdad4",
      "fileid": "e9e242bb7984cc4bb33733320392b6f44d7811a1f89ac3e498b146a76625e6eb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/25982650041"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1-8",
      "date": "2026-06-02T17:51:59.000Z",
      "commit": "0298a3cac092e39029e4a3d957ef8017376bdad4",
      "fileid": "cb90901169a34fc8bb3eca85703174f156b590544cfe30aef605920e5abcdd82",
      "status": "success",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/25982650041"
    }
  ]
}