Tag Archives: bit arrays

WLS SAS Catalog or Command Files and Bit Arrays

Using a text editor it was easy to convert the SAS catalog files which come with the WLS to simpler formats to be read by simple programs.

Creating a bit array with the Python Bitarray package will produce a one dimensional array of bits, any number of which can be put in a list to produce a two dimensional thing. I need them transposed. You can transpose an ordinary two dimensional list of lists in one line of code using map and zip. Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment