{
  "_id": "6ac23589d743750d376d6ecb",
  "Package": "BBEST",
  "Type": "Package",
  "Title": "Bayesian Estimation of Incoherent Neutron Scattering Backgrounds",
  "Version": "0.1-9",
  "Date": "2026-09-04",
  "Authors@R": "c(\nperson(\"Anton\", \"Gagin\", role = c(\"aut\", \"cre\"),\nemail = \"av.gagin@gmail.com\"),\nperson(\"Igor\", \"Levin\", role = \"aut\"),\nperson(c(\"Charles\", \"R.\"), \"Hogg III\", role = \"ctb\")\n)",
  "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>.",
  "License": "GPL-3",
  "NeedsCompilation": "no",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.1",
  "Packaged": {
    "Date": "2026-10-04 11:11:47 UTC",
    "User": "root"
  },
  "Author": "Anton Gagin [aut, cre], Igor Levin [aut], Charles R. Hogg III\n[ctb]",
  "Maintainer": "Anton Gagin <av.gagin@gmail.com>",
  "Config/pak/sysreqs": "cmake make libgsl0-dev libicu-dev libuv1-dev\nzlib1g-dev",
  "Repository": "https://antongagin.r-universe.dev",
  "Date/Publication": "2026-09-04 11:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/BBEST",
  "RemoteRef": "HEAD",
  "RemoteSha": "06757d8b988f64fd6ca2b9cc9b3cf16e3e4fd428",
  "_user": "antongagin",
  "_type": "src",
  "_file": "BBEST_0.1-9.tar.gz",
  "_fileid": "https://r2.ropensci.org/c7666645a710daf399544618fbe305346d510ff22b781f122f4a3bde65e9f027",
  "_filesize": 1160784,
  "_sha256": "c7666645a710daf399544618fbe305346d510ff22b781f122f4a3bde65e9f027",
  "_expires": "2027-01-12T11:16:21.000Z",
  "_created": "2026-10-04T11:11:47.000Z",
  "_published": "2026-10-04T11:16:24.922Z",
  "_jobs": [
    {
      "job": 111423539579,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11301389944"
    },
    {
      "job": 111423539572,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11302360083"
    },
    {
      "job": 111423539518,
      "time": 226,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11300884442"
    },
    {
      "job": 111423539515,
      "time": 168,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301676692"
    },
    {
      "job": 111423064841,
      "time": 166,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301661513"
    },
    {
      "job": 111423539466,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11302355118"
    },
    {
      "job": 111423539545,
      "time": 88,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11301860808"
    },
    {
      "job": 111423539599,
      "time": 85,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11302355047"
    },
    {
      "job": 111423539587,
      "time": 93,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301676607"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/antongagin/actions/runs/37197747518",
  "_status": "success",
  "_upstream": "https://github.com/cran/BBEST",
  "_commit": {
    "id": "06757d8b988f64fd6ca2b9cc9b3cf16e3e4fd428",
    "author": "Anton Gagin <av.gagin@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1-9\n",
    "time": 1788520202
  },
  "_maintainer": {
    "name": "Anton Gagin",
    "email": "av.gagin@gmail.com",
    "login": "antongagin",
    "description": "",
    "uuid": 14840270
  },
  "_distro": "resolute",
  "_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": [
    {
      "week": "2026-36",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1-9",
      "date": "2026-09-04"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "antongagin",
      "count": 5,
      "uuid": 14840270
    }
  ],
  "_userbio": {
    "uuid": 14840270,
    "type": "user",
    "name": "Anton Gagin",
    "followers": 1
  },
  "_downloads": {
    "count": 617,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BBEST"
  },
  "_mentions": 2,
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/BBEST.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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"
    },
    {
      "version": "0.1-9",
      "date": "2026-09-08"
    }
  ],
  "_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-9",
      "date": "2026-10-04T11:14:21.000Z",
      "distro": "resolute",
      "commit": "06757d8b988f64fd6ca2b9cc9b3cf16e3e4fd428",
      "fileid": "https://r2.ropensci.org/8812f583fb0e354ef38eb68bc681e12ca91b6a31710507371518b0c3839777d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/37197747518"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1-9",
      "date": "2026-10-04T11:14:21.000Z",
      "distro": "resolute",
      "commit": "06757d8b988f64fd6ca2b9cc9b3cf16e3e4fd428",
      "fileid": "https://r2.ropensci.org/b6a703adeeb7098c0d7854edc1f58cf9c49902173ddc58b6010db64e3b7a5cf4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/37197747518"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1-9",
      "date": "2026-10-04T11:15:03.000Z",
      "commit": "06757d8b988f64fd6ca2b9cc9b3cf16e3e4fd428",
      "fileid": "https://r2.ropensci.org/fa8fcf3317fb64e74916d5a9316bdb087ff388285116455056cc55e54ce53fcf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/37197747518"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1-9",
      "date": "2026-10-04T11:13:58.000Z",
      "commit": "06757d8b988f64fd6ca2b9cc9b3cf16e3e4fd428",
      "fileid": "https://r2.ropensci.org/3477cab8131c5bd8b7cad7be22f393ee939783dd8e61e11637f17450d93bbaaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/37197747518"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1-9",
      "date": "2026-10-04T11:14:21.000Z",
      "commit": "06757d8b988f64fd6ca2b9cc9b3cf16e3e4fd428",
      "fileid": "https://r2.ropensci.org/8359958c5b7f218e40249dc8fe3372bd02e1e30f1e3fae308fb9954e320f9c23",
      "status": "success",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/37197747518"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1-9",
      "date": "2026-10-04T11:13:00.000Z",
      "commit": "06757d8b988f64fd6ca2b9cc9b3cf16e3e4fd428",
      "fileid": "https://r2.ropensci.org/012f5a5cda75bc49103937f9bcd91e66042e37b6109d9ab592a97b554ce92cb2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/37197747518"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1-9",
      "date": "2026-10-04T11:13:00.000Z",
      "commit": "06757d8b988f64fd6ca2b9cc9b3cf16e3e4fd428",
      "fileid": "https://r2.ropensci.org/ea12f3ec1592d0c2fa21e510ce39761f00b589bfc76a4778fd5f1defa9815d70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/37197747518"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1-9",
      "date": "2026-10-04T11:13:08.000Z",
      "commit": "06757d8b988f64fd6ca2b9cc9b3cf16e3e4fd428",
      "fileid": "https://r2.ropensci.org/0a3d6e5ea05f1efdfbf3c3569c0988a95514c1c32ec8173c50f0a8d64b31d0ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/antongagin/actions/runs/37197747518"
    }
  ]
}