Jump to content

tobeornottobealttfan

Member
  • Posts

    165
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Profile Information

  • Gender
    Male
  • Location
    Kolkata, India
  • Occupation
    Physics undergrad student.

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, I have 301 snapshots of data files (.vti format) each of which represents a scalar flow field at a particular time. Each data file is a 3D array of 384^3 data points. Now I want to make a 30 fps movie with these data files displaying one after the other. I wish to do it using Paraview but don't how to. I looked at the documentations online but none of them are clear. Thanks in advance.
  2. Hello, I have a numpy array X in python which is of the shape (M,N,N). This means that for every i in range(M), X is a (N,N) matrix. Now, I want to diagonalize all such Xs without using for loop. I was wondering where there exists a numpy/ scipy function in python which does this. For example, while doing most operations likesum, multiply, mean etc. using numpy functions, there is an argument for axes. Do you know of any function for diagonalization which support the axes argument? Thanks in advance.
  3. Is there any exclamation symbol on the drive name? Also, have you tried plugging the external drive to some other computer?
  4. Are you using any software to tweak windows default behaviour, like WinAero tweaker ?
  5. Hi, I use a preamble file with my .tex documents using \include{preamble.tex} in my main file. Since, \include does not support global path, I have to make multiple copies of the preamble.tex file in locations of different main .tex files. Also, it is easier to send any tex source to others this way, I simply send the folder/ keep it in the cloud. However, when I want to modify the preamble.tex file, say add a new package or a new macro, I have to painstakingly go through all the copies and change them accordingly. Is there a way I can link the copies such that if one of them gets updated all of them do? I use windows btw. Thanks for the help in advance.
  6. Hi, I use VS Code to edit files of different file types -- mainly .py and .tex files. I was wondering if I can use different fonts in the editor for these two different file types. It will be really useful if I can do so. Thanks in advance for your help.
  7. @Origami Cactus It worked. Had to give "when": "editorLangId =~ /python/" Thanks a lot. It would be nice to know what other kinds of conditions I can set for this. Do let me know if you find any guide for this. I looked at the official VS Code documentation on keybindings, couldn't make much sense. Thanks again.
  8. Hi, I have set a shortcut to run any python file in VS Code. The shortcut is " ` " ("oem_3") key. However, I need this key while using other languages -- LaTeX for example. Thus, I need to configure this shourtcut such that it is executed only when the file is a .py file. I found out that one can configure shortcuts this way by using a "when" clause using keybindings.json file. For example this shortcut "ctrl+s" will only be executed when the file is a .tex file and the LaTeX extension is enabled. I want to do a similar thing for the following python extension by adding a "when" clause to the following shortcut But I don't understand how this syntax works. Can anyone guide me? Thanks.
  9. However, I can't seem to make it work in mathmode. Any ideas for that?
  10. Hi all, I want to write symbols with tilde (~) on their head. The general command for this is \tilde(a) Now I can define a shortcut if I am using it multiple times. The standard way to do it is to include a line \renewcommand{\t}[1]{\tilde{#1}} in the preamble. Then \t{a} will give me the same result. However I don't want to use the curly braces. What I want is that \ta give the same result as \renewcommand{\t}[1]{\tilde{#1}} I can do renewcommand/newcommand for individual alphabets but was wondering whether I could write a single command that does the same. Does anyone know how to do it? Thanks
  11. I will suggest ubuntu because it is more popular and as far as I can remember the instructions to make a live usb is on their website. Mainly there are two. Check for any cables starting from the power supply and ending in the motherboard. The most obvious one is the 24 pin connector. There is another one near the cpu whose name I can't remember. Please google for your particular motherboard.
  12. I agree with @s_k that you should try booting from a linux drive. If the card in detected in Linux then it is likely that the problem is in Windows. If that is the case, I would recommend uninstalling the realtek driver, restarting and trying a good old windows update. If linux doesn't detect the interface either. It is most likely that this is a hardware problem. The only option you will have left in that case is to check every connections on the motherboard from the power supply. Hope this helps.
×