<commit_before>---
layout: post
title: "Pavo 1.3.0"
date: 2017-09-20
author: <NAME>
categories: code 
---

Version 1.3 of [pavo](http://rafaelmaia.net/pavo/) is on its way through CRAN, so be sure to update in the next day or two. It's a serious update! So serious that we rolled through two increments before we actually got it out. 

Big changes include a handful of new functions to make life easier, like `sensdata()` for easily retrieving `pavo's` internal data, and the addition of the CIELCh model (the cylindrical transformation of CIELab), accessible via `colspace()`. Rafael has done some amazing work by adding in noise-corrected colorspaces, as well totally rewriting the 3d plots (tetrachromatic and CIELab) for far better control and aesthetics. 

**pavo 1.3.0**
------------------------------------------------------------------------------

_NEW FUNCTIONS_
* `jnd2xyz()` converts distances (in JND, resulting from a `coldist()` call) into cartesian coordinates
* `plot()` methods for objects resulting from `jnd2xyz()`
* `jndrot()` produces rotations of Cartesian coordinates resulting from `jnd2xyz()`
* `coldist2mat()` converts `coldist()` result from a pairwise data.frame to a distance matrix<commit_msg>things<commit_after>---
layout: post
title: "Pavo 1.3.0"
date: 2017-09-20
author: <NAME>
categories: code 
---

Version 1.3 of [pavo](http://rafaelmaia.net/pavo/) is on its way through CRAN, so be sure to update in the next day or two. It's a serious update! So serious that we rolled through two increments before we actually got it out. 

Big changes include a handful of new functions to make life easier, like `sensdata()` for easily retrieving `pavo's` internal data, and the addition of the CIELCh model (the cylindrical transformation of CIELab), accessible via `colspace()`. Rafael has done some amazing work by adding in noise-corrected colorspaces, as well totally rewriting the 3d plots (tetrachromatic and CIELab) for far better control and aesthetics. 

#### pavo 1.3.0
------------------------------------------------------------------------------

_NEW FUNCTIONS_
* `jnd2xyz()` converts distances (in JND, resulting from a `coldist()` call) into cartesian coordinates
* `plot()` methods for objects resulting from `jnd2xyz()`
* `jndrot()` produces rotations of Cartesian coordinates resulting from `jnd2xyz()`
* `coldist2mat()` converts `coldist()` result from a pairwise data.frame to a distance matrix
{'fraction_non_alphanumeric': 0.1506961506961507, 'fraction_numerical': 0.0171990171990172, 'mean_word_length': 3.4743589743589745, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5422749', 'n_tokens_mistral': 731, 'n_tokens_neox': 633, 'n_words': 315}