[Neuroimaging] nibabel.openers() -- >compression level argument information

Matthew Brett matthew.brett at gmail.com
Sat May 16 05:01:21 EDT 2020


Hi,

On Sat, May 16, 2020 at 9:54 AM Rodrigo Dennis Perea
<grandrigo at gmail.com> wrote:
>
> Hi Chris,
> I am wondering where can I find more information about the "default_compressionlevel" argument in the following website:
>
> https://nipy.org/nibabel/reference/nibabel.openers.html
>
> If I change the compression, I assume it's always lossless but there a trade between compression time and file size, correct?
>
> Thanks in advance,
> Rodrigo

Right - there's a bit more information at
https://docs.python.org/3/library/gzip.html#gzip.GzipFile.   There's
some discussion of gzip compression levels here:

https://stackoverflow.com/questions/28452429/does-gzip-compression-level-have-any-impact-on-decompression

Cheers,

Matthew


More information about the Neuroimaging mailing list