Questions about getting data, files, images etc. from various formats into a form that can be read, tranformed and manipulated by Mathematica

learn more… | top users | synonyms

18
votes
0answers
379 views

Getting EPS imports to respect the original fill rule

One major problem in my attempt to answer to the CountryData flags question is that the way Mathematica handles filled curves differs from the way SVG and EPS style editors do. The latter two have the ...
8
votes
0answers
112 views

How to connect to a video stream?

Is there a way to get a current frame from video streams (especially from RTSP streams)? I would like to connect to a camera in my local network and get a snapshot from it to do some further ...
7
votes
0answers
426 views

What are the known differences between Save and DumpSave, and how to account for them?

Edit: I changed the title and (slightly) the wording of this question in order to make it more easily answerable. If I evaluate this in Mathematica 9: ...
6
votes
0answers
134 views

Call Magma in Mathematica

I've written some code in Mathematica, related to some group theory questions I have. Subsequently, I found that part of the code could be significantly sped up if I could just call a routine in ...
6
votes
0answers
73 views

Can't get Mathematica to Import PDF files with diacritics on the file name

Tested with versions 9.0.0, 10.0.2 and 10.3.0, all under OS X 10.10.5. and Linux The drag-...
5
votes
0answers
32 views

Is there a way to use iframes in a notebook?

For me, mathematica online is totally unusable, but the EmbeddedServices would be great to use. I wish that these functions worked in Mathematica, is there any hack anyone can think of to get these ...
5
votes
0answers
74 views

why does ReadString[“fname”,term] open a persistent stream, and how to close it?

Bug introduced in 10.0 and fixed in 10.3.0 Create a file temp.txt with the following content: test1 ;;; test2 ;;; test3 ;;; ...
5
votes
0answers
120 views

WDF specification?

Motivated by a recent question on the meaning of all sorts of W* acronyms, I would like to get more information about the Wolfram Data Framework (WDF). On its web page http://www.wolfram.com/data-...
5
votes
0answers
264 views

ImportString JSON possible bug

My problem is when I catch up some json output of whatever method and process it with ImportString[%, "JSON"], The first time ...
5
votes
0answers
142 views

What is the best way (lossless) to import .skp files into Mathematica?

I am using the free version of Google Sketchup and I've got a few designs in hand, which I need to be able to import into Mathematica. I saw the similar question asked by @Sjoerd C. de Vries in Stack ...
4
votes
0answers
77 views

File Formats for Scientific Data

I have a simulation written in another language which currently just dumps all its data (doubles, lists of doubles, lists of lists of doubles) in lines in ASCII, and then I read it into Mathematica by ...
4
votes
0answers
156 views

How to speed up import of large csv table?

Loading less than 2 gB of csv data took 5.29 hours: ...
4
votes
0answers
51 views

Import succesful when file manually deleted

apparently Import keeps an imported file i the cache and doesn't complain for some time if a file is deleted manually from the system and then it is imported. If the file is deleted from within ...
4
votes
0answers
111 views

Monitor progress of ZIP file extraction

Importing a ZIP file containing potentially many individual files in a (custom) format using Import[filename, {{"*"}, "Gaussian"}] takes quite a while. How can I ...
4
votes
0answers
160 views

Problem with FTP import in V10

Mathematica V10 returns an error when download directory. URLFetch :: invhttp: "FTP: could not retrieve (RETR failed) the specified file." V9 successfully retrieves the same reference. This ...
4
votes
0answers
113 views

Import Excel data forcing links (ie workbooks) to be updated

We have noticed importing data from an Excel spreadsheet doesn’t update links. The problem with this is if you import a spreadsheet that comprises of linked workbooks data and those workbooks have ...
4
votes
0answers
199 views

Single image import from stack via FTP connection

Background I would like to create a CDF document that is embedded on a webpage. The CDF will contain some image display ...
4
votes
0answers
269 views

Strange behavior of undocumented RawArray and ArrayObject expressions

I discovered several strange results and inconsistencies while trying to understand what undocumented RawArray and ArrayObject ...
3
votes
0answers
44 views

Parsing a caffe prototxt file?

Caffe has its own visualization tools, for instance you and draw all the layers in a network easily like so: But I wanted to analyze a network structure myself in mathematica, so I started to write ...
3
votes
0answers
50 views

Importing binary structured C++ data file

I am trying to import a binary data file. It seems that BinaryReadList would be appropriate? However the data file is composed of c++ structures like this: ...
3
votes
0answers
123 views

Importing large number of frames form Video - improved method?

I am trying to work with large numbers of frames from a video (30000+). I see there are a number of answers out there, but I find none of them satisfying - see below for details. I understand from ...
3
votes
0answers
102 views

Use of MuPad code into mathematica

Does somebody have experiences so as to transform a MuPad code into a notebook into Mathematica? I would like to export equations written in MuPad to Mathematica.
3
votes
0answers
72 views

Importing sobj sage objects?

I am working with a sage-math object. With some older versions of Mathematica it was possible to send data directly but the function doesn't work with Mathematica 9. What are my options to import a ...
3
votes
0answers
96 views

Finding the argument set for internal functions in Mathematica v9.0

I've recently run into a problem with importing TIF stacks in Mathematica: Slow import of multigigabyte TIF image stacks On the advice of Simon Woods and others, I've been looking into the behavior ...
3
votes
0answers
245 views

Errors importing UTF8 file to mathematica

I'm trying to import this file: Import["https://dl.dropboxusercontent.com/u/35192406/jarlaxxe_tweets.\ csv", CharacterEncoding -> "UTF8"] But I am getting ...
3
votes
0answers
112 views

External file Sub Matrix Import

Is there a Built-In Mathematica Function to extract a Sub matrix from a huge external file? Functions getting pieces of internal nested Lists, (arrays) are in place. Example: ...
3
votes
0answers
832 views

Can not Import PDF

I try to import PDF and extract text from it Import["D:\\Vegetarian MS.pdf", {"PDF", "Plaintext"}] but with some files I have a problem like this ...
2
votes
0answers
125 views

Animate FromQuarternionTo3DRotation nb file with 4 quarternion values

I have a csv file. Inside the csv file, there are few rows of 4 quartenion values. I would like to animate the quarternion nb in http://demonstrations.wolfram.com/FromQuaternionTo3DRotation/ I ...
2
votes
0answers
93 views

Confocal Microscopy

Is it possible to direcly import Nikon ND2 files (e.g Confocal microscope 2D or 3D stacks files)? Otherwise how can we import TIFFs of 3D stack and process it as a single "entity" so to speak? ...
2
votes
0answers
139 views

import of a opj file (Origin)

Is there a way to import a file of opj-type? Or do you know a package to convert the data? The Import[] function seems not to know this format.
2
votes
0answers
51 views

Error importing MBOX file

I am trying to import the mbox file generated by gmail. Using the Import command. ...
2
votes
0answers
84 views

Is there a way to specify which kernel is used to import files (SOLVED)?

Following up on a previous question in which I encountered a memory leak in the JSON importer I have created a SandBox script that will run the Import and analysis on a separate kernel, which be ...
2
votes
0answers
64 views

I can SystemOpen but I can't Import an online file (Internet and Intranet)

Thank you MarcoB and Pickett. I am currently using the Mathematica trial version on my laptop since my company's enterprise version will take 2 more weeks to setup because there are a lot of hoops to ...
2
votes
0answers
266 views

Open LabView's TDMS file?

How to open the National Instruments LabView TDMS files? Has anyone developed a library or code for easily importing these? National Instruments provide a DLL and specification for the format. There ...
2
votes
0answers
121 views

Import file size capacity for Mathematica

I am trying to import a large data set (.csv) into Mathematica. The data set contains more than 14 million rows, is this something Mathematica can handle? If not, what is the maximum capacity? I have ...
2
votes
0answers
72 views

The “right” way to define a custom Encoding format?

I have implemented an Import|Export format for xz that behaves like gzip and other encoding formats: ...
2
votes
0answers
123 views

Significant platform-dependent efficiency when importing data?

I'm curious, as I understand that answer this way: If you are using a Linux derivative or something like cygwin on Windows, then this is an efficient solution for reading only the third field ...
1
vote
0answers
22 views

How to import specified current statistic to the Mathematica

There is amazing site about statistic of everything, www.worldometers.info. I want to import specified current statistic to the Mathematica for instance how to import dynamic "current world ...
1
vote
0answers
31 views

Arrange of several files

I am struggling to import my data. There are 400 files in CSV format with names organised by date like: Table1_20111003_YYYY_MM_DD_0000.dat. In each file over 20 colums and 86400 rows (seconds of ...
1
vote
0answers
40 views

How to Import file from subdirectory of ZIP file?

I have a "ZIP" file that contains directories. Import["arch.zip", "FileNames"] (* {"subdir\\test.txt"} *) However, ...
1
vote
0answers
71 views

decimal point changes in mathematica after importing data from excel

I am trying to import data from excel into mathematica. It works fine except that the values of all the variables after the import into mathematica change at 6th decimal point. For example, variable ...
1
vote
0answers
31 views

embeding an image in a cdf deployment

I would like to embed an image into CDF. Import function just import the function from a pathway but I would like the image to be present in the CDF or nb file as a part of it not importing. ...
1
vote
0answers
66 views

Import Excel data from within Manipulate

I am processing a set of data using Manipulate, as I need some user input as well and the whole code must be delivered as .cdf . The set of data should be imported from an Excel file which is selected ...
1
vote
0answers
67 views

Import using POST method and web-page drill down

A response to a previous question about invoking the POST method via Mathematica was most informative in trying to further understand the intricacies of using the POST Method to obtain tabular data ...
1
vote
0answers
70 views

How to import and export msgpack?

MessagePack is an efficient binary serialization format, I find it much better than JSON. There is currently (as of v10.3) no support for this in Mathematica. Does anyone know of third party ...
1
vote
0answers
46 views

Error when importing XML - XMLGetString::pserr: MalformedURLException

I am getting the following error when trying to import XML: ...
1
vote
0answers
77 views

Importing SQL view vs table

I am trying to import a SQL view not a table in Mathematica. The command: SQLSelect[conn, "DataByYear"] This will correctly bring in the table. However using the ...
1
vote
0answers
40 views

How to avoid import evaluation until if wil return true

My goal is to import a data from url that depends of 1 parameter, this initialy value is null or undifined en yo have to selec some popup and then the variable has value, what is the method to do that?...
1
vote
0answers
40 views

Imported variables (.mx) are emptied occassionally (Linux, v10.0.2)

I have a severe problem with variables being "emptied" occassionally. I am not able to reproduce the behavior but this is basically what happens: 1) store list list...